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


[email protected]
 
Top