MiniGUI API Reference (MiniGUI-Processes)
v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
|
Macros | |
#define | CB_GETEDITSEL 0xF140 |
Get the starting and ending character positions of the current selection. More... | |
#define | CB_LIMITTEXT 0xF141 |
Limits the length of text in the edit control. More... | |
#define | CB_SETEDITSEL 0xF142 |
Set the starting and ending character positions of the current selection. More... | |
#define | CB_ADDSTRING 0xF143 |
Adds a string to the list box of a combo box. More... | |
#define | CB_DELETESTRING 0xF144 |
Deletes a string in the list box of a combo box. More... | |
#define | CB_GETCOUNT 0xF146 |
Retreives the number of items in the list box of a combo box. More... | |
#define | CB_GETCURSEL 0xF147 |
Retreives the index of the currently selected item in the list box. More... | |
#define | CB_GETLBTEXT 0xF148 |
Retreives the string of an item in the list box. More... | |
#define | CB_GETLBTEXTLEN 0xF149 |
Get the string length of an item in the list box. More... | |
#define | CB_INSERTSTRING 0xF14A |
Inserts a string to the list box of a combo box. More... | |
#define | CB_RESETCONTENT 0xF14B |
Removes all items from the list box and edit control. More... | |
#define | CB_FINDSTRING 0xF14C |
Searchs the list box for an item beginning with the characters in a specified string. More... | |
#define | CB_SETCURSEL 0xF14E |
Selects a string in the list of a combo box. More... | |
#define | CB_GETITEMADDDATA 0xF150 |
Retreives the application-supplied 32-bit value associated with the specified item. More... | |
#define | CB_SETITEMADDDATA 0xF151 |
Set a 32-bit data value with the specified item. More... | |
#define | CB_GETDROPPEDCONTROLRECT 0xF152 |
Retreives the screen coordinates of the dropdown list box of a combo box. More... | |
#define | CB_SETITEMHEIGHT 0xF153 |
Set the height of all items of the list box in a combo box. More... | |
#define | CB_GETITEMHEIGHT 0xF154 |
Get the height of items of the list box in a combo box. More... | |
#define | CB_GETDROPPEDSTATE 0xF157 |
Determine whether the list box of a combo box is dropped down. More... | |
#define | CB_FINDSTRINGEXACT 0xF158 |
Searchs the list box for an item that matches the specified string. More... | |
#define | CB_SETSPINFORMAT 0xF162 |
Set the format string of value for CBS_AUTOSPIN type. More... | |
#define | CB_SETSPINRANGE 0xF163 |
Determine the range of the spin box in a combo box. More... | |
#define | CB_GETSPINRANGE 0xF164 |
Get the range of the spin box in a combo box. More... | |
#define | CB_SETSPINVALUE 0xF165 |
Determine the value of the spin box in a combo box. More... | |
#define | CB_GETSPINVALUE 0xF166 |
Get the current value of the spin box in a combo box. More... | |
#define | CB_SETSPINPACE 0xF167 |
Determine the pace and the fast pace of the spin box in a combo box. More... | |
#define | CB_GETSPINPACE 0xF168 |
Get the pace and the fast pace of the spin box in a combo box. More... | |
#define | CB_SPIN 0xF170 |
Spins the value of the spin box or auto spin box. More... | |
#define | CB_FASTSPIN 0xF171 |
Fast spins the value of the spin box or auto spin box. More... | |
#define | CB_SETSTRCMPFUNC 0xF172 |
Set the STRCMP function used to sort items. More... | |
#define | CB_GETCHILDREN 0xF173 |
Get the handles to the children of a ComboBox control. More... | |
#define CB_ADDSTRING 0xF143 |
Adds a string to the list box of a combo box.
An application sends a CB_ADDSTRING message to add a string to the list box of a combo box.
string | Pointer to the null-terminated string to be added. |
Definition at line 333 of file combobox.h.
#define CB_DELETESTRING 0xF144 |
Deletes a string in the list box of a combo box.
An application sends a CB_DELETESTRING message to delete a string in the list box of a combo box.
index | Specifies the index of the string to delete. |
Definition at line 354 of file combobox.h.
#define CB_FASTSPIN 0xF171 |
Fast spins the value of the spin box or auto spin box.
direct | Indicats the direct of the spin. Zero means up, non-zero down. |
Definition at line 855 of file combobox.h.
#define CB_FINDSTRING 0xF14C |
Searchs the list box for an item beginning with the characters in a specified string.
An application sends a CB_FINDSTRING message to search the list box for an item beginning with the characters in a specified string.
indexStart | Index of the item preceding the first item to be searched. |
string | Pointer to the null-terminated string that contains the prefix to search for. |
Definition at line 510 of file combobox.h.
#define CB_FINDSTRINGEXACT 0xF158 |
Searchs the list box for an item that matches the specified string.
An application sends a CB_FINDSTRINGEXACT message to search the list box for an item that matches a specified string.
indexStart | Index of the item preceding the first item to be searched. |
string | Pointer to the null-terminated string to search for. |
Definition at line 675 of file combobox.h.
#define CB_GETCHILDREN 0xF173 |
Get the handles to the children of a ComboBox control.
An application sends a CB_GETCHILDREN message to get the handles to the children of a ComboBox control.
wnd_edit | The buffer saving the handle to the edit box of the ComboBox control. |
wnd_list | The buffer saving the handle to the list box of the ComboBox control. If the ComboBox have type of CBS_AUTOSPIN, handle to the list box will be 0. |
Definition at line 912 of file combobox.h.
#define CB_GETCOUNT 0xF146 |
Retreives the number of items in the list box of a combo box.
An application sends a CB_GETCOUNT message to retreive the number of items in the list box of a combo box.
Definition at line 374 of file combobox.h.
#define CB_GETCURSEL 0xF147 |
Retreives the index of the currently selected item in the list box.
An application sends a CB_GETCURSEL message to retreive the index of the currently selected item in the list box of a combo box.
Definition at line 393 of file combobox.h.
#define CB_GETDROPPEDCONTROLRECT 0xF152 |
Retreives the screen coordinates of the dropdown list box of a combo box.
rect | Pointer to the RECT structure used to save the coordinates. |
Definition at line 597 of file combobox.h.
#define CB_GETDROPPEDSTATE 0xF157 |
Determine whether the list box of a combo box is dropped down.
Definition at line 652 of file combobox.h.
#define CB_GETEDITSEL 0xF140 |
Get the starting and ending character positions of the current selection.
An application sends a CB_GETEDITSEL message to get the starting and ending character positions of the current selection in the edit control of a combo box.
start | Pointer to a 32-bit value that receives the starting position of the selection. |
end | Pointer to a 32-bit value that receives the ending position of the selection. |
Definition at line 263 of file combobox.h.
#define CB_GETITEMADDDATA 0xF150 |
Retreives the application-supplied 32-bit value associated with the specified item.
An application sends an CB_GETITEMADDDATA message to retrive the 32-bit data value associated with with an item in the list box of the combo box.
index | The index of the item. |
Definition at line 555 of file combobox.h.
#define CB_GETITEMHEIGHT 0xF154 |
Get the height of items of the list box in a combo box.
Definition at line 633 of file combobox.h.
#define CB_GETLBTEXT 0xF148 |
Retreives the string of an item in the list box.
An application sends a CB_GETLBTEXT message to retreive the string of a specified item in the list box of a combo box.
index | The index of the selected item. |
string | Pointer to the string buffer. |
Definition at line 418 of file combobox.h.
#define CB_GETLBTEXTLEN 0xF149 |
Get the string length of an item in the list box.
An application sends a CB_GETLBTEXTLEN message to get the string length of a specified item in the list box of a combo box.
index | The index of the specified item. |
Definition at line 439 of file combobox.h.
#define CB_GETSPINPACE 0xF168 |
Get the pace and the fast pace of the spin box in a combo box.
spin_pace | Pointer to the data to retreive the new pace value of the spin box. |
spin_fastpace | Pointer to the data to retreive the new fast pace value of the spin box. |
Definition at line 817 of file combobox.h.
#define CB_GETSPINRANGE 0xF164 |
Get the range of the spin box in a combo box.
spin_min | The minimum value of the spin box. |
spin_max | The maximum value of the spin box. |
Definition at line 744 of file combobox.h.
#define CB_GETSPINVALUE 0xF166 |
Get the current value of the spin box in a combo box.
Definition at line 777 of file combobox.h.
#define CB_INSERTSTRING 0xF14A |
Inserts a string to the list box of a combo box.
An application sends a CB_INSERTSTRING message to insert a string to the list box of a combo box. Unlike the CB_ADDSTRING message, the CB_INSERTSTRING message do not cause a list to be sorted.
index | The index of the position at which to insert the string. |
string | Pointer to the null-terminated string to be added. |
Definition at line 467 of file combobox.h.
#define CB_LIMITTEXT 0xF141 |
Limits the length of text in the edit control.
An application sends a CB_LIMITTEXT message to limit the length of the text the user may type into the edit control of a combo box.
newLimit | Specifies the maximum number of characters the user can enter. |
Definition at line 284 of file combobox.h.
#define CB_RESETCONTENT 0xF14B |
Removes all items from the list box and edit control.
An application sends a CB_RESETCONTENT message remove all items from the list box and edit control of a combo box.
Definition at line 485 of file combobox.h.
#define CB_SETCURSEL 0xF14E |
Selects a string in the list of a combo box.
index | The index of the string to select. |
Definition at line 530 of file combobox.h.
#define CB_SETEDITSEL 0xF142 |
Set the starting and ending character positions of the current selection.
An application sends a CB_SETEDITSEL message to set the starting and ending character positions of the current selection in the edit control of a combo box.
start | The starting position of the selection. |
end | The ending position of the selection. |
Definition at line 308 of file combobox.h.
#define CB_SETITEMADDDATA 0xF151 |
Set a 32-bit data value with the specified item.
An application sends an CB_SETITEMADDDATA message to associate a 32-bit data value specified in the lParam parameter with an item in the list box that is specified in the wParam parameter.
index | The index of the specified item. |
addData | the 32-bit data value which will associated with the item. |
Definition at line 581 of file combobox.h.
#define CB_SETITEMHEIGHT 0xF153 |
Set the height of all items of the list box in a combo box.
An application sends an CB_SETITEMHEIGHT message to set the height of all items of the list box in a combo box.
itemHeight | New height of item of the list box. |
Definition at line 618 of file combobox.h.
#define CB_SETSPINFORMAT 0xF162 |
Set the format string of value for CBS_AUTOSPIN type.
format | A format string can be used by sprintf function to format an interger. |
Definition at line 704 of file combobox.h.
#define CB_SETSPINPACE 0xF167 |
Determine the pace and the fast pace of the spin box in a combo box.
new_pace | The new pace value of the spin box. |
new_fastpace | The new fast pace value of the spin box. |
Definition at line 797 of file combobox.h.
#define CB_SETSPINRANGE 0xF163 |
Determine the range of the spin box in a combo box.
new_min | The new minimum value of the spin box. |
new_max | The new maximum value of the spin box. |
Definition at line 724 of file combobox.h.
#define CB_SETSPINVALUE 0xF165 |
Determine the value of the spin box in a combo box.
new_value | The new value of the spin box. |
Definition at line 762 of file combobox.h.
#define CB_SETSTRCMPFUNC 0xF172 |
Set the STRCMP function used to sort items.
An application sends a CB_SETSTRCMPFUNC message to set a new STRCMP function to sort items in the combo-box.
Note that you should send this message before adding any item to the combo-box control.
my_strcmp | Your own function to compare two strings. |
Definition at line 888 of file combobox.h.
#define CB_SPIN 0xF170 |
Spins the value of the spin box or auto spin box.
direct | Indicats the direct of the spin. Zero means up, non-zero down. |
Definition at line 836 of file combobox.h.