MiniGUI API Reference (MiniGUI-Standalone)  v3.2.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
combobox.h
Go to the documentation of this file.
1 
43 /*
44  * $Id: combobox.h 10690 2008-08-18 09:32:47Z weiym $
45  *
46  * MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks,
47  * pSOS, ThreadX, NuCleus, OSE, and Win32.
48  */
49 
50 #ifndef _MGUI_CTRL_COMBOBOX_H
51 #define _MGUI_CTRL_COMBOBOX_H
52 
53 
54 #ifdef __cplusplus
55 extern "C" {
56 #endif /* __cplusplus */
57 
72 #define CTRL_COMBOBOX ("combobox")
73 
94 #define CBS_SIMPLE 0x0000L
95 
104 #define CBS_AUTOSPIN 0x0001L
105 
114 #define CBS_SPINLIST 0x0002L
115 
129 #define CBS_DROPDOWNLIST 0x0003L
130 
135 #define CBS_TYPEMASK 0x0007L
136 
144 #define CBS_NOTIFY 0x0008L
145 
150 #define CBS_SPINARROW_TOPBOTTOM 0x0010L
151 
156 #define CBS_SPINARROW_LEFTRIGHT 0x0020L
157 
163 #define CBS_AUTOHSCROLL 0x0040L
164 
170 #define CBS_DISABLENOSCROLL 0x0080L
171 
176 #define CBS_SORT 0x0100L
177 
182 #define CBS_AUTOLOOP 0x0200L
183 
188 #define CBS_EDITNOBORDER 0x0400L
189 
194 #define CBS_EDITBASELINE 0x0800L
195 
200 #define CBS_READONLY 0x1000L
201 
206 #define CBS_UPPERCASE 0x2000L
207 
212 #define CBS_LOWERCASE 0x4000L
213 
218 #define CBS_AUTOFOCUS 0x8000L
219 
251 #define CB_GETEDITSEL 0xF140
252 
272 #define CB_LIMITTEXT 0xF141
273 
296 #define CB_SETEDITSEL 0xF142
297 
321 #define CB_ADDSTRING 0xF143
322 
342 #define CB_DELETESTRING 0xF144
343 
344 #define CB_DIR 0xF145
345 
362 #define CB_GETCOUNT 0xF146
363 
381 #define CB_GETCURSEL 0xF147
382 
406 #define CB_GETLBTEXT 0xF148
407 
427 #define CB_GETLBTEXTLEN 0xF149
428 
455 #define CB_INSERTSTRING 0xF14A
456 
473 #define CB_RESETCONTENT 0xF14B
474 
498 #define CB_FINDSTRING 0xF14C
499 
500 #define CB_SELECTSTRING 0xF14D
501 
518 #define CB_SETCURSEL 0xF14E
519 
520 #define CB_SHOWDROPDOWN 0xF14F
521 
543 #define CB_GETITEMADDDATA 0xF150
544 
569 #define CB_SETITEMADDDATA 0xF151
570 
585 #define CB_GETDROPPEDCONTROLRECT 0xF152
586 
606 #define CB_SETITEMHEIGHT 0xF153
607 
621 #define CB_GETITEMHEIGHT 0xF154
622 
623 #define CB_SETEXTENDEDUI 0xF155
624 #define CB_GETEXTENDEDUI 0xF156
625 
640 #define CB_GETDROPPEDSTATE 0xF157
641 
663 #define CB_FINDSTRINGEXACT 0xF158
664 
665 #define CB_SETLOCALE 0xF159
666 #define CB_GETLOCALE 0xF15A
667 #define CB_GETTOPINDEX 0xF15b
668 #define CB_SETTOPINDEX 0xF15c
669 #define CB_GETHORIZONTALEXTENT 0xF15d
670 #define CB_SETHORIZONTALEXTENT 0xF15e
671 #define CB_GETDROPPEDWIDTH 0xF15f
672 #define CB_SETDROPPEDWIDTH 0xF160
673 #define CB_INITSTORAGE 0xF161
674 
692 #define CB_SETSPINFORMAT 0xF162
693 
712 #define CB_SETSPINRANGE 0xF163
713 
732 #define CB_GETSPINRANGE 0xF164
733 
750 #define CB_SETSPINVALUE 0xF165
751 
765 #define CB_GETSPINVALUE 0xF166
766 
785 #define CB_SETSPINPACE 0xF167
786 
805 #define CB_GETSPINPACE 0xF168
806 
824 #define CB_SPIN 0xF170
825 
843 #define CB_FASTSPIN 0xF171
844 
876 #define CB_SETSTRCMPFUNC 0xF172
877 
900 #define CB_GETCHILDREN 0xF173
901 
902 #define CB_MSGMAX 0xF180
903 
907 #define CB_OKAY LB_OKAY
908 
909 #define CB_ERR LB_ERR
910 
911 #define CB_ERRSPACE LB_ERRSPACE
912 
918 #define CBN_ERRSPACE 255
919 
927 #define CBN_SELCHANGE 1
928 
936 #define CBN_DBLCLK 2
937 
942 #define CBN_SETFOCUS 3
943 
948 #define CBN_KILLFOCUS 4
949 
957 #define CBN_EDITCHANGE 5
958 
959 #define CBN_EDITUPDATE 6
960 
965 #define CBN_DROPDOWN 7
966 
971 #define CBN_CLOSEUP 8
972 
980 #define CBN_SELECTOK 9
981 
989 #define CBN_SELECTCANCEL 10
990 
997 #define CBN_CLICKED 11
998 
1005 #ifdef __cplusplus
1006 }
1007 #endif /* __cplusplus */
1008 
1009 #endif /* _MGUI_CTRL_COMBOBOX_H */
1010