Delete Key problem

E

Edward Ma

We created C# addin which includes a property grid in a docked window like
the window for stencil. The problem is we cannot use delete key to change
anythings in the property window, it deletes any selected shapes in current
drawing page any time when use press the delete key.

Thanks in advance for any help.

Ed
 
C

Chris Roth

Check out the OnKeystrokeMessageForAddon event for window objects:

from Vis dev help:

----------------------
OnKeystrokeMessageForAddon event

Occurs when Microsoft Office Visio receives a keystroke message from
Microsoft Windows that is targeted at an add-on window or child of an add-on
window...
----------------------

Hope this helps,

Chris Roth
Visio MVP


(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top