Description

The user has pressed and released a keyboard key.

Syntax

Private Sub object_KeyUp(lKeyCode, lKeyData, bHandled)

The KeyUp Event syntax has these parts:

PartDescription
objectA McDisplay object.
lKeyCodeA Long value.

long : virtual-key code of the pressed key

lKeyDataA Long value.

long : contains repeat count, shift key, etc. Refer to Windows SDK documentation on WM_KEYUP.

bHandledA Boolean value.

VARIANT_BOOL * : Setting this parameter to true aborts the propagation of this event to other clients. The implication is that the client code that set this parameter has handled the event and no other clients should.

Remarks

The viewer does nothing with this event.