LILSORTOPTIONS

typedef struct _LILSORTOPTIONS
{
   L_UINT uStructSize;
   L_BOOL bAscending;
   L_BOOL bCaseSensitive;
   L_BOOL bUseExtText;
   L_UINT32 uFlags;
} LILSORTOPTIONS, L_FAR* pLILSORTOPTIONS;

The LILSORTOPTIONS structure contains information about the Extended Sorting options.

Member

Description

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() macro to calculate this value.

bAscending

Flag that indicates whether to sort the items in the ImageList Control in ascending order. Possible values are:

 

Value

Meaning

 

TRUE

Sort the items in the ImageList Control in ascending order.

 

FALSE

Sort the items in the ImageList Control in descending order.

bCaseSensitive

Flag that indicates whether to sort the items in the ImageList Control with case sensitivity. Possible values are:

 

Value

Meaning

 

TRUE

Sort the items in the ImageList Control with case sensitivity.

 

FALSE

Sort the items in the ImageList Control with case insensitivity.

bUseExtText

Flag that indicates whether to sort the items in the ImageList Control based on their pTextExt attribute,. referenced in the pTextExt member of the LILITEM structure. Possible values are:

 

Value

Meaning

 

TRUE

Sort the items in the ImageList Control based on their pTextExt attribute.

 

FALSE

Sort the items in the ImageList Control based on their pText attribute referenced in the pText member of the LILITEM structure.

uFlags

Reserved for future use. Pass 0.

Comments

This structure is used by the LImageListControl::SortExt function.