Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef MCTRL_BUTTON_H
00020 #define MCTRL_BUTTON_H
00021
00022 #include <mCtrl/defs.h>
00023
00024 #ifdef __cplusplus
00025 extern "C" {
00026 #endif
00027
00028
00138 BOOL MCTRL_API mcButton_Initialize(void);
00139
00144 void MCTRL_API mcButton_Terminate(void);
00145
00146
00152 #define MC_WC_BUTTONW L"mCtrl.button"
00153
00154 #define MC_WC_BUTTONA "mCtrl.button"
00155 #ifdef UNICODE
00156
00160 #define MC_WC_BUTTON MC_WC_BUTTONW
00161 #else
00162 #define MC_WC_BUTTON MC_WC_BUTTONA
00163 #endif
00164
00171
00179 #define MC_BS_SPLITBUTTON (0x0000000CL)
00180
00188 #define MC_BS_DEFSPLITBUTTON (0x0000000DL)
00189
00197
00206 #define MC_BST_DROPDOWNPUSHED 0x0400
00207
00218 typedef struct MC_NMBCDROPDOWN_tag {
00220 NMHDR hdr;
00222 RECT rcButton;
00223 } MC_NMBCDROPDOWN;
00224
00225
00230
00245 #define MC_BCN_DROPDOWN ((0U-1250U) + 0x0002)
00246
00250 #ifdef __cplusplus
00251 }
00252 #endif
00253
00254 #endif