Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Occurs when the user presses a key while the InkEdit control has focus.
Syntax
HRESULT KeyDown(
Long *pKey,
short ShiftKey
);
Parameters
-
pKey
-
The virtual-key code of the key pressed by the user.
-
ShiftKey
-
A member of the InkShiftKeyModifierFlags enumeration, that indicates which modifier keys are depressed at the time of the event.
Value Meaning - IKM_Shift
Specifies that the SHIFT key was used as a modifier. - IKM_Control
Specifies that the CTRL key was used as a modifier. - IKM_Alt
Specifies that the ALT key was used as a modifier.
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_IeeKeyDown.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows XP Tablet PC Edition [desktop apps only] |
| Minimum supported server |
None supported |
| Header |
|
| Library |
|