Control.processKeyPreview

Overview | Methods | Fields | This Package | All Packages

Control.processKeyPreview

Processes key preview messages.

Syntax

protected boolean processKeyPreview( Message m )

Parameters

m

The Win32 message to process.

Return Value

Returns true if the message was handled.

Remarks

When overriding the processKeyPreview method, a control should return true to indicate that it has processed the message. For messages that aren't processed by the control, the control should return the result of the super.processKeyPreview method.