Occurs during message preprocessing of dialog keys.
Syntax
Event Data
The event handler receives an argument of type DialogKeyEventArgs containing data related to this event. The following DialogKeyEventArgs properties provide information specific to this event.
Property | Description |
---|
Alt | Gets whether the ALT key was pressed. |
Control | Gets whether the CTRL key was pressed. |
Handled | Gets or sets whether the event was handled. |
KeyCode | Gets the key code for the key the user pressed. |
KeyData | Gets the key data for the key the user pressed. |
Modifiers | Gets which combination of CTRL, SHIFT, and ALT keys is pressed. |
Shift | Gets whether the SHIFT key was pressed. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also