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 the structure. Use sizeof(LILSELOPTION) 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

 

ALLOWSELECTION_RUBBERBAND

[3] enable rubberband selection of 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.

Help Version 20.0.2020.4.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help