LILSELOPTION
typedef struct _LILSELOPTION
{
L_INT32
lStructSize;
L_UINT uAllowSelection;
L_UINT uSelectionStyle;
COLORREF crSelection;
} LILSELOPTION, L_FAR* pLILSELOPTION;
The LILSELOPTION structure contains information about selection options.
Member |
Description |
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 LImageListControl::GetSelectionOptions and LImageListControl::SetSelectionOptions functions.