Share via


OlkListBoxEvents_Event.KeyDown Event

Occurs when a user presses a key.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
Event KeyDown As OlkListBoxEvents_KeyDownEventHandler
'Usage
Dim instance As OlkListBoxEvents_Event
Dim handler As OlkListBoxEvents_KeyDownEventHandler

AddHandler instance.KeyDown, handler
event OlkListBoxEvents_KeyDownEventHandler KeyDown

Remarks

The state of the modifier keys (SHIFT, CTRL, or ALT) that are pressed during the KeyDown event is accessible through the Shift parameter.

See Also

Reference

OlkListBoxEvents_Event Interface

OlkListBoxEvents_Event Members

Microsoft.Office.Interop.Outlook Namespace

Microsoft.Office.Interop.Outlook.OlkListBoxEvents_KeyDownEventHandler