OwnerDrawItem event (ImageList Control)
Builder Syntax |
TOwnerDrawItemEvent OnOwnerDrawItemEvent (int Index, HDC h_DC, int ItemLeft, int ItemTop, int ItemRight, int ItemBottom, int ItemBackLeft, int ItemBackTop, int ItemBackRight, int ItemBackBottom); |
Delphi Syntax |
OnOwnerDrawItemEvent (Index: Integer; h_DC: HDC; ItemLeft: Integer; ItemTop: Integer; ItemRight: Integer; ItemBottom: Integer; ItemBackLeft: Integer; ItemBackTop: Integer; ItemBackRight: Integer; ItemBackBottom: Integer):TOwnerDrawItemEvent; |
Overview |
Refer to Using the Image List Control. |
Remarks
Occurs when an item in the ImageList Control needs to be repainted. This event occurs only if the OwnerDrawItems property has been set to TRUE.
This event must be used for custom/user-defined painting of ImageList items.
See Also
Elements: |
|
Topics: |