mCtrl  0.9.2
Macros
defs.h File Reference

Common definitions. More...

Go to the source code of this file.

Macros

#define MCTRL_API   __stdcall
 
#define MCTRL_NAME_AW(name)   name##W
 

Common Constants

#define MC_CLR_NONE   ((COLORREF)0xffffffffL)
 No color. More...
 
#define MC_CLR_DEFAULT   ((COLORREF)0xff000000L)
 Default color. More...
 
#define MC_I_IMAGENONE   (-2)
 Index of no image in an image list. More...
 
#define MC_I_GROUPIDNONE   (-2)
 Index of no group. More...
 

Control Specific Message Ranges

#define MC_EXM_FIRST   (WM_USER+0x4000 + 0)
 
#define MC_EXM_LAST   (WM_USER+0x4000 + 49)
 
#define MC_GM_FIRST   (WM_USER+0x4000 + 50)
 
#define MC_GM_LAST   (WM_USER+0x4000 + 199)
 
#define MC_HM_FIRST   (WM_USER+0x4000 + 200)
 
#define MC_HM_LAST   (WM_USER+0x4000 + 299)
 
#define MC_MTM_FIRST   (WM_USER+0x4000 + 300)
 
#define MC_MTM_LAST   (WM_USER+0x4000 + 399)
 
#define MC_MBM_FIRST   (WM_USER+0x4000 + 400)
 
#define MC_MBM_LAST   (WM_USER+0x4000 + 499)
 
#define MC_PVM_FIRST   (WM_USER+0x4000 + 500)
 
#define MC_PVM_LAST   (WM_USER+0x4000 + 599)
 
#define MC_CHM_FIRST   (WM_USER+0x4000 + 600)
 
#define MC_CHM_LAST   (WM_USER+0x4000 + 699)
 
#define MC_TLM_FIRST   (WM_USER+0x4000 + 700)
 
#define MC_TLM_LAST   (WM_USER+0x4000 + 799)
 

Control Specific Notification Ranges

#define MC_EXN_FIRST   (0x40000000 + 0)
 
#define MC_EXN_LAST   (0x40000000 + 49)
 
#define MC_GN_FIRST   (0x40000000 + 100)
 
#define MC_GN_LAST   (0x40000000 + 199)
 
#define MC_HN_FIRST   (0x40000000 + 200)
 
#define MC_HN_LAST   (0x40000000 + 299)
 
#define MC_MTN_FIRST   (0x40000000 + 300)
 
#define MC_MTN_LAST   (0x40000000 + 349)
 
#define MC_PVN_FIRST   (0x40000000 + 400)
 
#define MC_PVN_LAST   (0x40000000 + 499)
 
#define MC_CHN_FIRST   (0x40000000 + 500)
 
#define MC_CHN_LAST   (0x40000000 + 599)
 
#define MC_TLN_FIRST   (0x40000000 + 600)
 
#define MC_TLN_LAST   (0x40000000 + 699)
 

Detailed Description

Common definitions.

This helper header file provides some macro definitions shared by other public mCtrl headers. They all include this header so you shouldn't need to include this header file directly.

Macro Definition Documentation

#define MCTRL_API   __stdcall

Helper macro specifying the calling convention of functions exported by MCTRL.DLL. You should not use it directly.

#define MCTRL_NAME_AW (   name)    name##W

Helper macro for unicode resolution. You should not use it directly.

#define MC_CLR_NONE   ((COLORREF)0xffffffffL)

No color.

This is defined to have the same value and meaning as the constant CLR_NONE from <commctrl.h> and applications can use these two macros interchangeably.

#define MC_CLR_DEFAULT   ((COLORREF)0xff000000L)

Default color.

This is defined to have the same value and meaning as the constant CLR_DEFAULT from <commctrl.h> and applications can use these two macros interchangeably.

#define MC_I_IMAGENONE   (-2)

Index of no image in an image list.

This is defined to have the same value and meaning as the constant I_IMAGENONE from <commctrl.h> and applications can use these two macros interchangeably.

#define MC_I_GROUPIDNONE   (-2)

Index of no group.

This is defined to have the same value and meaning as the constant I_GROUPIDNONE from <commctrl.h> and applications can use these two macros interchangeably.