KeyPress Event

KeyPress Event

Occurs when a key is pressed while the InkPicture control has focus.

Declaration

[C++]

void KeyPress([in, out] short* KeyAscii);

Parameters

KeyAscii

[in] The ASCII value of the key that is being pressed.

Remarks

This event method is defined in the _IInkPictureEvents interface. The _IInkPictureEvents interface implements the IDispatch Leave Site interface with an identifier of DISPID_IPEKeyPress.

Applies To