RAD Studio VCL Reference
Forms.TMessageEvent Type

TMessageEvent is the type of an OnMessage event handler.

TMessageEvent = procedure (var Msg: TMsg; var Handled: Boolean) of object;
(var Msg: TMsg; var Handled: Boolean) ( TMessageEvent)();

TMessageEvent includes the following parameters: 

Msg identifies the Windows message that triggered the event. 

Handled indicates whether the event handler responded to the message. If the event handler sets Handled to true, the application assumes that the message has been completely handled and halts any subsequent processing of the message. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!