MiniGUI API Reference (MiniGUI-Standalone)
v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
|
Go to the source code of this file.
Macros | |
#define | CTRL_COMBOBOX ("combobox") |
The class name of combobox control. More... | |
#define | CBS_SIMPLE 0x0000L |
Displays the list box at all times. More... | |
#define | CBS_AUTOSPIN 0x0001L |
Creates AutoSpin box. More... | |
#define | CBS_SPINLIST 0x0002L |
Creates SpinList box. More... | |
#define | CBS_DROPDOWNLIST 0x0003L |
Specifies a drop-down list box in the selection filed. More... | |
#define | CBS_TYPEMASK 0x0007L |
The type mask of style of combobox. More... | |
#define | CBS_NOTIFY 0x0008L |
Notifies the parent window. More... | |
#define | CBS_SPINARROW_TOPBOTTOM 0x0010L |
The spin arrow. More... | |
#define | CBS_SPINARROW_LEFTRIGHT 0x0020L |
The spin arrow. More... | |
#define | CBS_AUTOHSCROLL 0x0040L |
This style is reserved. More... | |
#define | CBS_DISABLENOSCROLL 0x0080L |
This style is reserved. More... | |
#define | CBS_SORT 0x0100L |
Automatically sorts strings entered in the list box. More... | |
#define | CBS_AUTOLOOP 0x0200L |
Loops the value automatically if the type of combobox is CBS_AUTOSPIN. More... | |
#define | CBS_EDITNOBORDER 0x0400L |
The edit box has no border. More... | |
#define | CBS_EDITBASELINE 0x0800L |
The edit box has base line. More... | |
#define | CBS_READONLY 0x1000L |
The edit field is read-only. More... | |
#define | CBS_UPPERCASE 0x2000L |
The edit field is uppercase. More... | |
#define | CBS_LOWERCASE 0x4000L |
The edit field is lowercase. More... | |
#define | CBS_AUTOFOCUS 0x8000L |
The edit field will gain the focus automatically. More... | |
#define | CB_GETEDITSEL 0xF140 |
Gets 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 |
Sets 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 |
Gets 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 |
Sets 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 |
Sets the height of all items of the list box in a combo box. More... | |
#define | CB_GETITEMHEIGHT 0xF154 |
Gets the height of items of the list box in a combo box. More... | |
#define | CB_GETDROPPEDSTATE 0xF157 |
Determines 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 |
Sets the format string of value for CBS_AUTOSPIN type. More... | |
#define | CB_SETSPINRANGE 0xF163 |
Determines the range of the spin box in a combo box. More... | |
#define | CB_GETSPINRANGE 0xF164 |
Gets the range of the spin box in a combo box. More... | |
#define | CB_SETSPINVALUE 0xF165 |
Determines the value of the spin box in a combo box. More... | |
#define | CB_GETSPINVALUE 0xF166 |
Gets the current value of the spin box in a combo box. More... | |
#define | CB_SETSPINPACE 0xF167 |
Determines the pace and the fast pace of the spin box in a combo box. More... | |
#define | CB_GETSPINPACE 0xF168 |
Gets 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 |
Sets the STRCMP function used to sort items. More... | |
#define | CB_GETCHILDREN 0xF173 |
Gets the handles to the children of a ComboBox control. More... | |
#define | CB_OKAY LB_OKAY |
#define | CB_ERR LB_ERR |
#define | CB_ERRSPACE LB_ERRSPACE |
#define | CBN_SELCHANGE 1 |
Notifies the change of the current selection. More... | |
#define | CBN_DBLCLK 2 |
Notifies the user has double clicked an item. More... | |
#define | CBN_SETFOCUS 3 |
Notifies the box has gained the input focus. More... | |
#define | CBN_KILLFOCUS 4 |
Notifies the box has lost the input focus. More... | |
#define | CBN_EDITCHANGE 5 |
Notifies the change of the text in the edit control. More... | |
#define | CBN_DROPDOWN 7 |
Notifies the list box has been dropped down. More... | |
#define | CBN_CLOSEUP 8 |
Notifies the list box has been closed up. More... | |
#define | CBN_SELECTOK 9 |
Notifies the selection of a list item. More... | |
#define | CBN_SELECTCANCEL 10 |
Notifies that the selection of a list item is ignored. More... | |
#define | CBN_CLICKED 11 |
Notifies that the user has clicked combo box. More... | |
This file is part of MiniGUI, a mature cross-platform windowing and Graphics User Interface (GUI) support system for embedded systems and smart IoT devices. Copyright (C) 2002~2018, Beijing FMSoft Technologies Co., Ltd. Copyright (C) 1998~2002, WEI Yongming This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. Or, As this program is a library, any link to this program must follow GNU General Public License version 3 (GPLv3). If you cannot accept GPLv3, you need to be licensed from FMSoft. If you have got a commercial license of this program, please use it under the terms and conditions of the commercial license. For more information about the commercial license, please refer to <http://www.minigui.com/en/about/licensing-policy/>.
Definition in file combobox.h.