KeyDown Event Does Not Occur When You Press the DELETE and the ARROW Keys (828964)
The information in this article applies to:
- Microsoft Office Visio Standard 2003
- Microsoft Office Visio Professional 2003
SYMPTOMS Procedures or functions that reference the KeyDown event may return unexpected behavior when you press the DELETE
key or any one of the ARROW keys.CAUSEThe KeyDown event does not occur when you press the DELETE key or one of the
ARROW keys. The KeyDown event only occurs if the drawing window receives a WM_KEYDOWN
message. When accelerator keys such as the DELETE key and the ARROW keys are
pressed, the WM_KEYDOWN message is translated into its corresponding WM_COMMAND
and the drawing window does not receive any WM_KEYDOWN messages. WORKAROUNDTo work around this behavior, you may be able to modify the
procedures or the functions so that the KeyUp event is referenced instead of the KeyDown event.
Note The KeyUp event does occur when the accelerator keys such as the DELETE key
and the ARROW keys are released.STATUS This
behavior is by design.
Modification Type: | Minor | Last Reviewed: | 1/12/2006 |
---|
Keywords: | kbprb KB828964 kbAudDeveloper |
---|
|