MiniGUI API Reference (MiniGUI-Processes)  v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
combobox.h
Go to the documentation of this file.
1 //
3 // IMPORTANT NOTICE
4 //
5 // The following open source license statement does not apply to any
6 // entity in the Exception List published by FMSoft.
7 //
8 // For more information, please visit:
9 //
10 // https://www.fmsoft.cn/exception-list
11 //
13 
55 /*
56  * $Id: combobox.h 10690 2008-08-18 09:32:47Z weiym $
57  *
58  * MiniGUI for Linux/uClinux, eCos, uC/OS-II, VxWorks,
59  * pSOS, ThreadX, NuCleus, OSE, and Win32.
60  */
61 
62 #ifndef _MGUI_CTRL_COMBOBOX_H
63 #define _MGUI_CTRL_COMBOBOX_H
64 
65 
66 #ifdef __cplusplus
67 extern "C" {
68 #endif /* __cplusplus */
69 
84 #define CTRL_COMBOBOX ("combobox")
85 
106 #define CBS_SIMPLE 0x0000L
107 
116 #define CBS_AUTOSPIN 0x0001L
117 
126 #define CBS_SPINLIST 0x0002L
127 
141 #define CBS_DROPDOWNLIST 0x0003L
142 
147 #define CBS_TYPEMASK 0x0007L
148 
156 #define CBS_NOTIFY 0x0008L
157 
162 #define CBS_SPINARROW_TOPBOTTOM 0x0010L
163 
168 #define CBS_SPINARROW_LEFTRIGHT 0x0020L
169 
175 #define CBS_AUTOHSCROLL 0x0040L
176 
182 #define CBS_DISABLENOSCROLL 0x0080L
183 
188 #define CBS_SORT 0x0100L
189 
194 #define CBS_AUTOLOOP 0x0200L
195 
200 #define CBS_EDITNOBORDER 0x0400L
201 
206 #define CBS_EDITBASELINE 0x0800L
207 
212 #define CBS_READONLY 0x1000L
213 
218 #define CBS_UPPERCASE 0x2000L
219 
224 #define CBS_LOWERCASE 0x4000L
225 
230 #define CBS_AUTOFOCUS 0x8000L
231 
263 #define CB_GETEDITSEL 0xF140
264 
284 #define CB_LIMITTEXT 0xF141
285 
308 #define CB_SETEDITSEL 0xF142
309 
333 #define CB_ADDSTRING 0xF143
334 
354 #define CB_DELETESTRING 0xF144
355 
356 #define CB_DIR 0xF145
357 
374 #define CB_GETCOUNT 0xF146
375 
393 #define CB_GETCURSEL 0xF147
394 
418 #define CB_GETLBTEXT 0xF148
419 
439 #define CB_GETLBTEXTLEN 0xF149
440 
467 #define CB_INSERTSTRING 0xF14A
468 
485 #define CB_RESETCONTENT 0xF14B
486 
510 #define CB_FINDSTRING 0xF14C
511 
512 #define CB_SELECTSTRING 0xF14D
513 
530 #define CB_SETCURSEL 0xF14E
531 
532 #define CB_SHOWDROPDOWN 0xF14F
533 
555 #define CB_GETITEMADDDATA 0xF150
556 
581 #define CB_SETITEMADDDATA 0xF151
582 
597 #define CB_GETDROPPEDCONTROLRECT 0xF152
598 
618 #define CB_SETITEMHEIGHT 0xF153
619 
633 #define CB_GETITEMHEIGHT 0xF154
634 
635 #define CB_SETEXTENDEDUI 0xF155
636 #define CB_GETEXTENDEDUI 0xF156
637 
652 #define CB_GETDROPPEDSTATE 0xF157
653 
675 #define CB_FINDSTRINGEXACT 0xF158
676 
677 #define CB_SETLOCALE 0xF159
678 #define CB_GETLOCALE 0xF15A
679 #define CB_GETTOPINDEX 0xF15b
680 #define CB_SETTOPINDEX 0xF15c
681 #define CB_GETHORIZONTALEXTENT 0xF15d
682 #define CB_SETHORIZONTALEXTENT 0xF15e
683 #define CB_GETDROPPEDWIDTH 0xF15f
684 #define CB_SETDROPPEDWIDTH 0xF160
685 #define CB_INITSTORAGE 0xF161
686 
704 #define CB_SETSPINFORMAT 0xF162
705 
724 #define CB_SETSPINRANGE 0xF163
725 
744 #define CB_GETSPINRANGE 0xF164
745 
762 #define CB_SETSPINVALUE 0xF165
763 
777 #define CB_GETSPINVALUE 0xF166
778 
797 #define CB_SETSPINPACE 0xF167
798 
817 #define CB_GETSPINPACE 0xF168
818 
836 #define CB_SPIN 0xF170
837 
855 #define CB_FASTSPIN 0xF171
856 
888 #define CB_SETSTRCMPFUNC 0xF172
889 
912 #define CB_GETCHILDREN 0xF173
913 
914 #define CB_MSGMAX 0xF180
915 
919 #define CB_OKAY LB_OKAY
920 
921 #define CB_ERR LB_ERR
922 
923 #define CB_ERRSPACE LB_ERRSPACE
924 
930 #define CBN_ERRSPACE 255
931 
939 #define CBN_SELCHANGE 1
940 
948 #define CBN_DBLCLK 2
949 
954 #define CBN_SETFOCUS 3
955 
960 #define CBN_KILLFOCUS 4
961 
969 #define CBN_EDITCHANGE 5
970 
971 #define CBN_EDITUPDATE 6
972 
977 #define CBN_DROPDOWN 7
978 
983 #define CBN_CLOSEUP 8
984 
992 #define CBN_SELECTOK 9
993 
1001 #define CBN_SELECTCANCEL 10
1002 
1009 #define CBN_CLICKED 11
1010 
1017 #ifdef __cplusplus
1018 }
1019 #endif /* __cplusplus */
1020 
1021 #endif /* _MGUI_CTRL_COMBOBOX_H */
1022