MiniGUI API Reference (MiniGUI-Processes)  v5.0.6
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

◆ LBS_AUTOCHECK

#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 198 of file listbox.h.

◆ LBS_AUTOCHECKBOX

#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 205 of file listbox.h.

◆ LBS_CHECKBOX

#define LBS_CHECKBOX   0x1000L

Displays a check box in an item.

Definition at line 184 of file listbox.h.

◆ LBS_MOUSEFOLLOW

#define LBS_MOUSEFOLLOW   0x0010L

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

Definition at line 218 of file listbox.h.

◆ LBS_MULTIPLESEL

#define LBS_MULTIPLESEL   0x0008L

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

Definition at line 178 of file listbox.h.

◆ LBS_NOTIFY

#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 163 of file listbox.h.

◆ LBS_SBALWAYS

#define LBS_SBALWAYS   0x8000L

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

Definition at line 211 of file listbox.h.

◆ LBS_SORT

#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 172 of file listbox.h.

◆ LBS_USEICON

#define LBS_USEICON   0x2000L

Displays an icon or bitmap in an item.

Definition at line 190 of file listbox.h.