Export (0) Print
Expand All

KeyPress Event

KeyPress Event

Occurs when the user presses and releases a key while the InkEdit control has focus.

Declaration

[C++]

HRESULT KeyPress(
    long* Char
);

Parameters

Char

[in] An integer that returns a standard numeric ANSI keycode. The Char parameter is passed by reference; changing it sends a different character to the control. Changing the Char parameter to 0 cancels the event.

Remarks

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

Applies To

Related Topics

Show:
© 2014 Microsoft