LILITEMOPTION

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 LILITEMOPTION structure contains information about item options.

Member Description
uStructSize Size of the structure. Use sizeof(LILITEMOPTION) 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 items text. Possible values are:
  Value Meaning
  TRUE Display the items text.
  FALSE Do not display the items text
crForeground Color for the items text.
hFont Handle to the font to use for the items 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 LImageListControl::GetItemOptions and LImageListControl::SetItemOptions 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