TTMSFNCPopupMenuBeforeDrawMenuItemImage Event Type
Fires before the item bitmap is drawn; set
AAlloworADefaultDrawto suppress default image rendering.
API unit family: TMSFNCPopupMenu
Parameters
| Name | Description |
|---|---|
Sender |
The popup menu that raised the event. |
AGraphics |
Graphics context for custom drawing. |
AMenuItemControl |
The item control whose image is about to be drawn. |
ADrawingParameters |
Image layout parameters; may be modified. |
AAllow |
Set to False to cancel image drawing. |
ADefaultDraw |
Set to False to skip default image drawing. |