LILDRAWITEM

typedef struct _LILDRAWITEM
{
   L_UINT uStructSize; 
   UINT uID; 
   HWND hWnd; 
   HDC hDC; 
   RECT rcItem; 
   RECT rcItemBack; 
   pLILITEM pItem; 
} LILDRAWITEM, L_FAR* pLILDRAWITEM;

The LILDRAWITEM structure contains information about a specific item to be drawn/painted in the ImageList control's parent window.

Member

Description

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() macro to calculate this value.

uID

Control ID.

hWnd

Window handle of the control.

hDC

Device context for output.

rcItem

RECT structure that contains the location of the item to draw/paint.

rcItemBack

RECT structure that contains the background of the item to draw/paint.

pItem

Pointer to the structure that contains the item to draw/paint.

Comments

This structure is used by the L_ILM_DRAWITEM message.