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.

Members

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() operator 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] Selected items will be indicating using the color specified in crSelection.
SELECTIONSTYLE_PRESSEDBUTTON [1] Selected items will appear as a 'pressed button'.
SELECTIONSTYLE_USERBITMAP [2] Selected items will be indicated by overlaying the bitmap set using the L_ILM_SETSELBITMAP message.

crSelection

The selection color.

Comments

The structure is used by:

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

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.