combobox.h File Reference
Go to the source code of this file.
Defines
- #define CTRL_COMBOBOX ("combobox")
- The class name of combobox control.
- #define CBS_SIMPLE 0x0000L
- Displays the list box at all times.
- #define CBS_AUTOSPIN 0x0001L
- Creates AutoSpin box.
- #define CBS_SPINLIST 0x0002L
- Creates SpinList box.
- #define CBS_DROPDOWNLIST 0x0003L
- Specifies a drop-down list box in the selection filed.
- #define CBS_TYPEMASK 0x0007L
- The type mask of style of combobox.
- #define CBS_NOTIFY 0x0008L
- Notifies the parent window.
- #define CBS_SPINARROW_TOPBOTTOM 0x0010L
- The spin arrow.
- #define CBS_SPINARROW_LEFTRIGHT 0x0020L
- The spin arrow.
- #define CBS_AUTOHSCROLL 0x0040L
- This style is reserved.
- #define CBS_DISABLENOSCROLL 0x0080L
- This style is reserved.
- #define CBS_SORT 0x0100L
- Automatically sorts strings entered in the list box.
- #define CBS_AUTOLOOP 0x0200L
- Loops the value automatically if the type of combobox is CBS_AUTOSPIN.
- #define CBS_EDITNOBORDER 0x0400L
- The edit box has no border.
- #define CBS_EDITBASELINE 0x0800L
- The edit box has base line.
- #define CBS_READONLY 0x1000L
- The edit field is read-only.
- #define CBS_UPPERCASE 0x2000L
- The edit field is uppercase.
- #define CBS_LOWERCASE 0x4000L
- The edit field is lowercase.
- #define CBS_AUTOFOCUS 0x8000L
- The edit field will gain the focus automatically.
- #define CB_GETEDITSEL 0xF140
- Gets the starting and ending character positions of the current selection.
- #define CB_LIMITTEXT 0xF141
- Limits the length of text in the edit control.
- #define CB_SETEDITSEL 0xF142
- Sets the starting and ending character positions of the current selection.
- #define CB_ADDSTRING 0xF143
- Adds a string to the list box of a combo box.
- #define CB_DELETESTRING 0xF144
- Deletes a string in the list box of a combo box.
- #define CB_GETCOUNT 0xF146
- Retreives the number of items in the list box of a combo box.
- #define CB_GETCURSEL 0xF147
- Retreives the index of the currently selected item in the list box.
- #define CB_GETLBTEXT 0xF148
- Retreives the string of an item in the list box.
- #define CB_GETLBTEXTLEN 0xF149
- Gets the string length of an item in the list box.
- #define CB_INSERTSTRING 0xF14A
- Inserts a string to the list box of a combo box.
- #define CB_RESETCONTENT 0xF14B
- Removes all items from the list box and edit control.
- #define CB_FINDSTRING 0xF14C
- Searchs the list box for an item beginning with the characters in a specified string.
- #define CB_SETCURSEL 0xF14E
- Selects a string in the list of a combo box.
- #define CB_GETITEMADDDATA 0xF150
- Retreives the application-supplied 32-bit value associated with the specified item.
- #define CB_SETITEMADDDATA 0xF151
- Sets a 32-bit data value with the specified item.
- #define CB_GETDROPPEDCONTROLRECT 0xF152
- Retreives the screen coordinates of the dropdown list box of a combo box.
- #define CB_SETITEMHEIGHT 0xF153
- Sets the height of all items of the list box in a combo box.
- #define CB_GETITEMHEIGHT 0xF154
- Gets the height of items of the list box in a combo box.
- #define CB_GETDROPPEDSTATE 0xF157
- Determines whether the list box of a combo box is dropped down.
- #define CB_FINDSTRINGEXACT 0xF158
- Searchs the list box for an item that matches the specified string.
- #define CB_SETSPINFORMAT 0xF162
- Sets the format string of value for CBS_AUTOSPIN type.
- #define CB_SETSPINRANGE 0xF163
- Determines the range of the spin box in a combo box.
- #define CB_GETSPINRANGE 0xF164
- Gets the range of the spin box in a combo box.
- #define CB_SETSPINVALUE 0xF165
- Determines the value of the spin box in a combo box.
- #define CB_GETSPINVALUE 0xF166
- Gets the current value of the spin box in a combo box.
- #define CB_SETSPINPACE 0xF167
- Determines the pace and the fast pace of the spin box in a combo box.
- #define CB_GETSPINPACE 0xF168
- Gets the pace and the fast pace of the spin box in a combo box.
- #define CB_SPIN 0xF170
- Spins the value of the spin box or auto spin box.
- #define CB_FASTSPIN 0xF171
- Fast spins the value of the spin box or auto spin box.
- #define CB_SETSTRCMPFUNC 0xF172
- Sets the STRCMP function used to sort items.
- #define CB_GETCHILDREN 0xF173
- Gets the handles to the children of a ComboBox control.
- #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.
- #define CBN_DBLCLK 2
- Notifies the user has double clicked an item.
- #define CBN_SETFOCUS 3
- Notifies the box has gained the input focus.
- #define CBN_KILLFOCUS 4
- Notifies the box has lost the input focus.
- #define CBN_EDITCHANGE 5
- Notifies the change of the text in the edit control.
- #define CBN_DROPDOWN 7
- Notifies the list box has been dropped down.
- #define CBN_CLOSEUP 8
- Notifies the list box has been closed up.
- #define CBN_SELECTOK 9
- Notifies the selection of a list item.
- #define CBN_SELECTCANCEL 10
- Notifies that the selection of a list item is ignored.
- #define CBN_CLICKED 11
- Notifies that the user has clicked combo box.
Detailed Description
- Author:
- Wei Yongming <ymwei@minigui.org>
- Date:
- 2001/12/29
Copyright (C) 2002-2008 Feynman Software.
Copyright (C) 1998-2002 Wei Yongming.
All rights reserved by Feynman Software.
This file is part of MiniGUI, a compact cross-platform Graphics
User Interface (GUI) support system for real-time embedded systems.
Definition in file combobox.h.