Description
The user has pressed a keyboard key.
Syntax
Private Sub object_KeyDown(Window, lKeyCode, lShift, bHandled)
The KeyDown Event syntax has these parts:
|
| object | A McWindows object. | | Window | A McWindow object. | | lKeyCode | A Long value.
virtual-key code of the pressed key
lKeyData - contains repeat count, shift key, etc. Refer to
Windows SDK documentation on WM_KEYDOWN.
| | lShift | A Long value. | | bHandled | A Boolean value. Setting this parameter to true aborts the propagation of this event to other clients. The implication is that the client code that set this parameter has handled the event and no other clients should.
|
Remarks
The viewer does nothing with this event.
|