LILITEMOPTIONS

typedef struct _LILITEMOPTION
{
   L_UINT uStructSize; 
   L_UINT uVerticalSpacing; 
   L_UINT uHorizontalSpacing; 
   L_UINT uWidth; 
   L_UINT uHeight; 
   COLORREF crBackground; 
   L_BOOL bDisplayItemText; 
   COLORREF crForeground; 
   HFONT hFont; 
} LILITEMOPTION, * pLILITEMOPTION;

The LILITEMOPTIONS structure contains information about item options.

Member

Description

uStructSize

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

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 L_ILM_GETITEMOPTIONS and L_ILM_SETITEMOPTIONS messages.