Table of Contents

TTMSFNCChat.OnBeforeDrawMessageIcon Event

Occurs before a message icon is drawn.

API unit family: TMSFNCChat Declaring type: TTMSFNCChat Inherited from: TTMSFNCCustomChat

Syntax

OnBeforeDrawMessageIcon: TTMSFNCChatBeforeDrawItemIconEvent;

Parameters

Name Description
Sender The chat control that raises the event.
AGraphics The graphics context used for drawing.
ARect The icon drawing rectangle.
AItem The message item that owns the icon.
AIcon The icon bitmap to draw.
AAllow Set to False to skip drawing the icon.