OwnerDrawItem event (ILEADRasterImgList)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

Void OwnerDrawItem (long nIndex, long hDC, float ItemLeft, float ItemTop, float ItemRight, float ItemBottom, float ItemBackLeft, float ItemBackTop, float ItemBackRight, float ItemBackBottom);

Overview

Refer to Using the Image List Control.

Remarks

Occurs when an item in the ILEADRasterImgList object 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:

OwnerDrawItems property, Item property

Topics:

Raster Images: Displaying Images