Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LILITEMOPTION

Show in webframe

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 the sizeof(LILITEMOPTION) macro 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.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.