Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Occurs when the user presses and releases a key while the InkEdit control has focus.
Syntax
HRESULT KeyPress(
Long *Char
);
Parameters
-
Char
-
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.
Return value
If this event succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
This event method is defined in the _IInkEditEvents interface. The _IInkEditEvents interface implements the IDispatch interface with an identifier of DISPID_IeeKeyPress.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows XP Tablet PC Edition [desktop apps only] |
Minimum supported server |
None supported |
Header |
|
Library |
|