共用方式為


KeyUp Event

KeyUp Event

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

Declaration

[C++]

void KeyUp(
    [in, out] short* KeyCode,
    [in, out] short* Shift
);

Parameters

KeyCode

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

Shift

[in, out] The state of the SHIFT key.

Remarks

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

Applies To