MiniGUI API Reference (MiniGUI-Standalone)  v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Macros
Styles of listbox control

Macros

#define LBS_NOTIFY   0x0001L
 Notifies the parent window. More...
 
#define LBS_SORT   0x0002L
 Sorts strings alphabetically. More...
 
#define LBS_MULTIPLESEL   0x0008L
 Causes the list box to allow the user to select multiple items. More...
 
#define LBS_CHECKBOX   0x1000L
 Displays a check box in an item. More...
 
#define LBS_USEICON   0x2000L
 Displays an icon or bitmap in an item. More...
 
#define LBS_AUTOCHECK   0x4000L
 If the list box has LBS_CHECKBOX style, this style tell the box to auto-switch the check box between checked or un-checked when the user click the check mark box of an item. More...
 
#define LBS_AUTOCHECKBOX   (LBS_CHECKBOX | LBS_AUTOCHECK)
 If the list box has LBS_AUTOCHECKBOX style, this style tell the box use LBS_CHECKBOX and BLS_AUTOCHECK style. More...
 
#define LBS_SBALWAYS   0x8000L
 The list box with LBS_SBALWAYS style will always show vertical scrollbar. More...
 
#define LBS_MOUSEFOLLOW   0x0010L
 The list box with LBS_MOUSEFOLLOW style will always change the selected item following mouse. More...
 

Detailed Description

Macro Definition Documentation

#define LBS_AUTOCHECK   0x4000L

If the list box has LBS_CHECKBOX style, this style tell the box to auto-switch the check box between checked or un-checked when the user click the check mark box of an item.

Definition at line 186 of file listbox.h.

#define LBS_AUTOCHECKBOX   (LBS_CHECKBOX | LBS_AUTOCHECK)

If the list box has LBS_AUTOCHECKBOX style, this style tell the box use LBS_CHECKBOX and BLS_AUTOCHECK style.

Definition at line 193 of file listbox.h.

#define LBS_CHECKBOX   0x1000L

Displays a check box in an item.

Definition at line 172 of file listbox.h.

#define LBS_MOUSEFOLLOW   0x0010L

The list box with LBS_MOUSEFOLLOW style will always change the selected item following mouse.

Definition at line 206 of file listbox.h.

#define LBS_MULTIPLESEL   0x0008L

Causes the list box to allow the user to select multiple items.

Definition at line 166 of file listbox.h.

#define LBS_NOTIFY   0x0001L

Notifies the parent window.

Causes the list box to notify the list box parent window with a notification message when the user clicks or doubleclicks an item.

Definition at line 151 of file listbox.h.

#define LBS_SBALWAYS   0x8000L

The list box with LBS_SBALWAYS style will always show vertical scrollbar.

Definition at line 199 of file listbox.h.

#define LBS_SORT   0x0002L

Sorts strings alphabetically.

Causes the list box to sort strings alphabetically that are added to the list box with an LB_ADDSTRING message.

Definition at line 160 of file listbox.h.

#define LBS_USEICON   0x2000L

Displays an icon or bitmap in an item.

Definition at line 178 of file listbox.h.