Vcl.Forms.TMessageEvent

From RAD Studio API Documentation
Jump to: navigation, search

C++

typedef void __fastcall (__closure *TMessageEvent)(tagMSG &Msg, bool &Handled);

Properties

Type Visibility Source Unit Parent
typedef public 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.

See Also