KeyDown Event
KeyDown Event |
Occurs when a key is pressed and in the down position while the InkPicture control has focus.
Declaration
[C++]
void KeyDown(
[in, out] short* KeyCode,
[in, out] short* Shift
);
Parameters
KeyCode
[in, out] The ASCII value of the key that is being pressed.
Shift
[in, out] The state of the SHIFT key.
Remarks
This event method is defined in the _IInkPictureEvents interface. The _IInkPictureEvents interface implements the IDispatch interface with an identifier of DISPID_IPEKeyDown.