Microsoft SDK for Java

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.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.