combobox.h
Go to the documentation of this file.00001
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef _MGUI_CTRL_COMBOBOX_H
00030 #define _MGUI_CTRL_COMBOBOX_H
00031
00032
00033 #ifdef __cplusplus
00034 extern "C" {
00035 #endif
00036
00051 #define CTRL_COMBOBOX ("combobox")
00052
00073 #define CBS_SIMPLE 0x0000L
00074
00083 #define CBS_AUTOSPIN 0x0001L
00084
00093 #define CBS_SPINLIST 0x0002L
00094
00108 #define CBS_DROPDOWNLIST 0x0003L
00109
00114 #define CBS_TYPEMASK 0x0007L
00115
00123 #define CBS_NOTIFY 0x0008L
00124
00129 #define CBS_SPINARROW_TOPBOTTOM 0x0010L
00130
00135 #define CBS_SPINARROW_LEFTRIGHT 0x0020L
00136
00142 #define CBS_AUTOHSCROLL 0x0040L
00143
00149 #define CBS_DISABLENOSCROLL 0x0080L
00150
00155 #define CBS_SORT 0x0100L
00156
00161 #define CBS_AUTOLOOP 0x0200L
00162
00167 #define CBS_EDITNOBORDER 0x0400L
00168
00173 #define CBS_EDITBASELINE 0x0800L
00174
00179 #define CBS_READONLY 0x1000L
00180
00185 #define CBS_UPPERCASE 0x2000L
00186
00191 #define CBS_LOWERCASE 0x4000L
00192
00197 #define CBS_AUTOFOCUS 0x8000L
00198
00230 #define CB_GETEDITSEL 0xF140
00231
00251 #define CB_LIMITTEXT 0xF141
00252
00275 #define CB_SETEDITSEL 0xF142
00276
00300 #define CB_ADDSTRING 0xF143
00301
00321 #define CB_DELETESTRING 0xF144
00322
00323 #define CB_DIR 0xF145
00324
00341 #define CB_GETCOUNT 0xF146
00342
00360 #define CB_GETCURSEL 0xF147
00361
00385 #define CB_GETLBTEXT 0xF148
00386
00406 #define CB_GETLBTEXTLEN 0xF149
00407
00434 #define CB_INSERTSTRING 0xF14A
00435
00452 #define CB_RESETCONTENT 0xF14B
00453
00477 #define CB_FINDSTRING 0xF14C
00478
00479 #define CB_SELECTSTRING 0xF14D
00480
00497 #define CB_SETCURSEL 0xF14E
00498
00499 #define CB_SHOWDROPDOWN 0xF14F
00500
00522 #define CB_GETITEMADDDATA 0xF150
00523
00548 #define CB_SETITEMADDDATA 0xF151
00549
00564 #define CB_GETDROPPEDCONTROLRECT 0xF152
00565
00585 #define CB_SETITEMHEIGHT 0xF153
00586
00600 #define CB_GETITEMHEIGHT 0xF154
00601
00602 #define CB_SETEXTENDEDUI 0xF155
00603 #define CB_GETEXTENDEDUI 0xF156
00604
00619 #define CB_GETDROPPEDSTATE 0xF157
00620
00642 #define CB_FINDSTRINGEXACT 0xF158
00643
00644 #define CB_SETLOCALE 0xF159
00645 #define CB_GETLOCALE 0xF15A
00646 #define CB_GETTOPINDEX 0xF15b
00647 #define CB_SETTOPINDEX 0xF15c
00648 #define CB_GETHORIZONTALEXTENT 0xF15d
00649 #define CB_SETHORIZONTALEXTENT 0xF15e
00650 #define CB_GETDROPPEDWIDTH 0xF15f
00651 #define CB_SETDROPPEDWIDTH 0xF160
00652 #define CB_INITSTORAGE 0xF161
00653
00671 #define CB_SETSPINFORMAT 0xF162
00672
00691 #define CB_SETSPINRANGE 0xF163
00692
00711 #define CB_GETSPINRANGE 0xF164
00712
00729 #define CB_SETSPINVALUE 0xF165
00730
00744 #define CB_GETSPINVALUE 0xF166
00745
00764 #define CB_SETSPINPACE 0xF167
00765
00784 #define CB_GETSPINPACE 0xF168
00785
00803 #define CB_SPIN 0xF170
00804
00822 #define CB_FASTSPIN 0xF171
00823
00855 #define CB_SETSTRCMPFUNC 0xF172
00856
00879 #define CB_GETCHILDREN 0xF173
00880
00881 #define CB_MSGMAX 0xF180
00882
00886 #define CB_OKAY LB_OKAY
00887
00888 #define CB_ERR LB_ERR
00889
00890 #define CB_ERRSPACE LB_ERRSPACE
00891
00897 #define CBN_ERRSPACE 255
00898
00906 #define CBN_SELCHANGE 1
00907
00915 #define CBN_DBLCLK 2
00916
00921 #define CBN_SETFOCUS 3
00922
00927 #define CBN_KILLFOCUS 4
00928
00936 #define CBN_EDITCHANGE 5
00937
00938 #define CBN_EDITUPDATE 6
00939
00944 #define CBN_DROPDOWN 7
00945
00950 #define CBN_CLOSEUP 8
00951
00959 #define CBN_SELECTOK 9
00960
00968 #define CBN_SELECTCANCEL 10
00969
00976 #define CBN_CLICKED 11
00977
00984 #ifdef __cplusplus
00985 }
00986 #endif
00987
00988 #endif
00989