mCtrl
0.9.6
|
Go to the source code of this file.
Common constants and types.
Many mCtrl controls implement features outlined after <commctrl.h>
, for sake of consistency and for sake of easiness of mCtrl adoption by developers with Win32API experience.
However we don't want to include that header in public mCtrl headers as, in general, mCtrl interface should be more self-contained.
Therefore this headers defines some constants and types which are equivalent to those in <commctrl.h>
, with name beginning with a prefix MC_
. Note that applications including both mCtrl headers and <commctrl.h>
can use those constants and types interchangeably as the constants and types are binary compatible.
Note that documentation of the <commctrl.h>
replacements is quite brief. Refer to MSDN documentation of their counterparts for more detailed info.
Additionally this header provides miscellaneous constants marking reserved ranges for messages and notifications of mCtrl controls (in a similar manner as <commctrl.h>
does for COMCTL32.DLL
controls).
Data Structures | |
struct | MC_NMCUSTOMDRAW |
Equivalent of NMCUSTOMDRAWINFO from <commctrl.h> . More... | |
Common Constants | |
#define | MC_CLR_NONE ((COLORREF) 0xFFFFFFFF) |
Equivalent of CLR_NONE from <commctrl.h> . More... | |
#define | MC_CLR_DEFAULT ((COLORREF) 0xFF000000) |
Equivalent of CLR_DEFAULT from <commctrl.h> . More... | |
#define | MC_I_IMAGECALLBACK (-1) |
Equivalent of I_IMAGECALLBACK from <commctrl.h> . More... | |
#define | MC_I_IMAGENONE (-2) |
Equivalent of I_IMAGENONE from <commctrl.h> . More... | |
#define | MC_I_CHILDRENCALLBACK (-1) |
Equivalent of I_CHILDRENCALLBACK from <commctrl.h> . More... | |
#define | MC_LPSTR_TEXTCALLBACKW ((LPWSTR)(INT_PTR) -1) |
Equivalent of LPSTR_TEXTCALLBACKW from <commctrl.h> (Unicode variant). More... | |
#define | MC_LPSTR_TEXTCALLBACKA ((LPSTR)(INT_PTR) -1) |
Equivalent of LPSTR_TEXTCALLBACKA from <commctrl.h> (ANSI variant). More... | |
Unicode Resolution | |
#define | MC_LPSTR_TEXTCALLBACK MCTRL_NAME_AW(MC_LPSTR_TEXTCALLBACK) |
Equivalent of LPSTR_TEXTCALLBACK from <commctrl.h> . More... | |
struct MC_NMCUSTOMDRAW |
#define MC_CLR_NONE ((COLORREF) 0xFFFFFFFF) |
Equivalent of CLR_NONE
from <commctrl.h>
.
#define MC_CLR_DEFAULT ((COLORREF) 0xFF000000) |
Equivalent of CLR_DEFAULT
from <commctrl.h>
.
#define MC_I_IMAGECALLBACK (-1) |
Equivalent of I_IMAGECALLBACK
from <commctrl.h>
.
#define MC_I_IMAGENONE (-2) |
Equivalent of I_IMAGENONE
from <commctrl.h>
.
#define MC_I_CHILDRENCALLBACK (-1) |
Equivalent of I_CHILDRENCALLBACK
from <commctrl.h>
.
#define MC_LPSTR_TEXTCALLBACKW ((LPWSTR)(INT_PTR) -1) |
Equivalent of LPSTR_TEXTCALLBACKW
from <commctrl.h>
(Unicode variant).
#define MC_LPSTR_TEXTCALLBACKA ((LPSTR)(INT_PTR) -1) |
Equivalent of LPSTR_TEXTCALLBACKA
from <commctrl.h>
(ANSI variant).
#define MC_LPSTR_TEXTCALLBACK MCTRL_NAME_AW(MC_LPSTR_TEXTCALLBACK) |
Equivalent of LPSTR_TEXTCALLBACK
from <commctrl.h>
.
Unicode-resolution alias.