Vcl.Forms.TMessageEvent
Delphi
TMessageEvent = procedure (var Msg: TMsg; var Handled: Boolean) of object;
C++
typedef void __fastcall (__closure *TMessageEvent)(tagMSG &Msg, bool &Handled);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | Vcl.Forms |
Description
TMessageEvent is the type of an OnMessage event handler.
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.