Редагувати

Поділитися через


InkEdit.KeyUp event

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

Syntax

HRESULT KeyUp(
   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_IeeKeyUp.

Requirements

Requirement Value
Minimum supported client
Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server
None supported
Header
Inked.h (also requires inked_i.c)
Library
InkEd.dll

See also

InkEdit

InkShiftKeyModifierFlags Enumeration

KeyDown Event [InkEdit Control]

KeyPress Event [InkEdit Control]