Skip to main content

TdxAlertWindowManager.OnCustomDrawMessageImage Event

Enables you to custom paint an alert window‘s message image.

Declaration

property OnCustomDrawMessageImage: TdxAlertWindowManagerCustomDrawMessageImageEvent read; write;

Remarks

Sender specifies the alert window manager that fired the event.

AAlertWindow specifies the alert window being custom painted.

ACanvas specifies the drawing surface.

AViewInfo provides ViewInfo information (a TdxAlertWindowImageViewInfo class instance) used to paint the alert window’s message image. Refer to the TdxAlertWindowHitTest.HitMessageImage property description to learn about the main TdxAlertWindowImageViewInfo properties accessible through the AViewInfo parameter that you can use for custom painting.

ADone specifies whether default painting is required. Set ADone to True, to prevent default code execution.

See Also