LILITEMOPTION

typedef struct _LILITEMOPTION
{

   L_INT32 lStructSize;
   L_UINT uVerticalSpacing;
   L_UINT uHorizontalSpacing;
   L_UINT uWidth;
   L_UINT uHeight;
   COLORREF crBackground;
   L_BOOL bDisplayItemText;
   COLORREF crForeground;
   HFONT hFont;

} LILITEMOPTION, L_FAR* pLILITEMOPTION;

The LILITEMOPTION structure contains information about item options.

Member

Description

lStructSize

Size of the structure.

uVerticalSpacing

Vertical spacing between items. The unit of measure is pixels.

uHorizontalSpacing

Horizontal spacing between items. The unit of measure is pixels.

uWidth

Width of the item in pixels.

uHeight

Height of the item in pixels.

crBackground

Background color for the item.

bDisplayItemText

Flag that indicates whether or not to display the item’s text. Possible values are:

Value

Meaning

TRUE

Display the item’s text.

FALSE

Do not display the item’s text

crForeground

Color for the item’s text.

hFont

Handle to the font to use for the item’s text.

Comments

The following are default values:

uVerticalSpacing

5

uHorizontalSpacing

5

uWidth

80

uHeight

80

crBackground

RGB(0,0,0)

bDisplayItemText

TRUE

crForeground

RGB(0,0,0)

hFont

NULL

This structure is used by the LImageListControl::GetItemOptions and LImageListControl::SetItemOptions functions.