LILDRAWITEM

typedef struct _LILDRAWITEM
{
   L_INT32 lStructSize;
   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

lStructSize

Size of the structure.

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 LImageListControl::DrawItem function.