LILSELOPTION

typedef struct _LILSELOPTION
{
   L_UINT uStructSize; 
   L_UINT uAllowSelection;
   L_UINT uSelectionStyle;
   COLORREF crSelection;
} LILSELOPTION, * pLILSELOPTION;

The LILSELOPTION structure contains information about selection options.

Member

Description

uStructSize

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

uAllowSelection

Item selection state. Possible values are:

 

Value

Meaning

 

ALLOWSELECTION_NONE

[0] no automatic item selection

 

ALLOWSELECTION_SINGLE

[1] automatic selection of single items

 

ALLOWSELECTION_MULTI

[2] automatic selection of multiple items

uSelectionStyle

Style used for displaying selected items. Possible values are:

 

Value

Meaning

 

SELECTIONSTYLE_SELECTCOLOR

0

 

SELECTIONSTYLE_PRESSEDBUTTON

1

 

SELECTIONSTYLE_USERBITMAP

2

crSelection

The selection color.

Comments

This structure is used by the L_ILM_GETSELOPTIONS and L_ILM_SETSELOPTIONS messages.