ReactOS  0.4.14-dev-583-g2a1ba2c
atlwin.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ATL::CWinTraits< t_dwStyle, t_dwExStyle >
 
class  ATL::CWinTraitsOR< t_dwStyle, t_dwExStyle, TWinTraits >
 
class  ATL::_U_MENUorID
 
class  ATL::_U_RECT
 
struct  ATL::_ATL_MSG
 
class  ATL::CWndProcThunk
 
class  ATL::CMessageMap
 
class  ATL::CWindow
 
struct  ATL::CWindow::_IDHWNDPAIR
 
class  ATL::CWindowImplRoot< TBase >
 
class  ATL::CDialogImplBaseT< TBase >
 
class  ATL::CDialogImpl< T, TBase >
 
class  ATL::CWindowImplBaseT< TBase, TWinTraits >
 
class  ATL::CWindowImpl< T, TBase, TWinTraits >
 
class  ATL::CContainedWindowT< TBase, TWinTraits >
 
struct  ATL::_ATL_WNDCLASSINFOW
 

Namespaces

 ATL
 

Macros

#define GCCU(x)   (x)
 
#define Unused(x)   (x);
 
#define GET_X_LPARAM(lp)   ((int)(short)LOWORD(lp))
 
#define GET_Y_LPARAM(lp)   ((int)(short)HIWORD(lp))
 
#define BEGIN_MSG_MAP(theClass)
 
#define ALT_MSG_MAP(map)
 
#define END_MSG_MAP()
 
#define MESSAGE_HANDLER(msg, func)
 
#define MESSAGE_RANGE_HANDLER(msgFirst, msgLast, func)
 
#define COMMAND_HANDLER(id, code, func)
 
#define COMMAND_ID_HANDLER(id, func)
 
#define COMMAND_CODE_HANDLER(code, func)
 
#define COMMAND_RANGE_HANDLER(idFirst, idLast, func)
 
#define NOTIFY_CODE_HANDLER(cd, func)
 
#define NOTIFY_HANDLER(id, cd, func)
 
#define CHAIN_MSG_MAP(theChainClass)
 
#define DECLARE_WND_CLASS_EX(WndClassName, style, bkgnd)
 

Typedefs

typedef _ATL_WNDCLASSINFOW ATL::CWndClassInfo
 
typedef CWinTraits< WS_CHILD|WS_VISIBLE|WS_CLIPCHILDREN|WS_CLIPSIBLINGS, 0 > ATL::CControlWinTraits
 
typedef CWinTraits< WS_OVERLAPPEDWINDOW|WS_CLIPCHILDREN|WS_CLIPSIBLINGS, WS_EX_APPWINDOW|WS_EX_WINDOWEDGEATL::CFrameWinTraits
 
typedef CWinTraits< WS_OVERLAPPEDWINDOW|WS_CHILD|WS_VISIBLE|WS_CLIPCHILDREN|WS_CLIPSIBLINGS, WS_EX_MDICHILDATL::CMDIChildWinTraits
 
typedef CContainedWindowT< CWindow > ATL::CContainedWindow
 

Functions

 ATL::__declspec (selectany) CAtlModule *_pAtlModule = NULL
 

Macro Definition Documentation

◆ ALT_MSG_MAP

#define ALT_MSG_MAP (   map)
Value:
break; \
case map:
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint GLenum GLenum GLenum GLint GLuint GLenum GLenum GLfloat GLenum GLfloat GLenum map
Definition: glfuncs.h:262

Definition at line 1785 of file atlwin.h.

◆ BEGIN_MSG_MAP

#define BEGIN_MSG_MAP (   theClass)
Value:
public: \
BOOL ProcessWindowMessage(HWND GCCU(hWnd), UINT GCCU(uMsg), WPARAM GCCU(wParam), LPARAM GCCU(lParam), LRESULT &GCCU(lResult), DWORD dwMsgMapID = 0) \
{ \
BOOL GCCU(bHandled) = TRUE; \
Unused(hWnd); \
Unused(uMsg); \
Unused(wParam); \
Unused(lParam); \
Unused(lResult); \
Unused(bHandled); \
switch(dwMsgMapID) \
{ \
case 0:
#define TRUE
Definition: types.h:120
HWND hWnd
Definition: settings.c:17
UINT_PTR WPARAM
Definition: windef.h:207
WPARAM wParam
Definition: combotst.c:138
LONG_PTR LPARAM
Definition: windef.h:208
unsigned long DWORD
Definition: ntddk_ex.h:95
#define GCCU(x)
Definition: atlwin.h:27
unsigned int UINT
Definition: ndis.h:50
LONG_PTR LRESULT
Definition: windef.h:209
LPARAM lParam
Definition: combotst.c:139

Definition at line 1770 of file atlwin.h.

◆ CHAIN_MSG_MAP

#define CHAIN_MSG_MAP (   theChainClass)
Value:
{ \
if (theChainClass::ProcessWindowMessage(hWnd, uMsg, wParam, lParam, lResult)) \
return TRUE; \
}
#define TRUE
Definition: types.h:120
HWND hWnd
Definition: settings.c:17
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139

Definition at line 1870 of file atlwin.h.

◆ COMMAND_CODE_HANDLER

#define COMMAND_CODE_HANDLER (   code,
  func 
)
Value:
if (uMsg == WM_COMMAND && code == HIWORD(wParam)) \
{ \
bHandled = TRUE; \
lResult = func(HIWORD(wParam), LOWORD(wParam), (HWND)lParam, bHandled); \
if (bHandled) \
return TRUE; \
}
GLenum func
Definition: glext.h:6028
#define TRUE
Definition: types.h:120
WPARAM wParam
Definition: combotst.c:138
#define WM_COMMAND
Definition: winuser.h:1722
#define HIWORD(l)
Definition: typedefs.h:246
LPARAM lParam
Definition: combotst.c:139
#define LOWORD(l)
Definition: pedump.c:82

Definition at line 1834 of file atlwin.h.

◆ COMMAND_HANDLER

#define COMMAND_HANDLER (   id,
  code,
  func 
)
Value:
if (uMsg == WM_COMMAND && id == LOWORD(wParam) && code == HIWORD(wParam)) \
{ \
bHandled = TRUE; \
lResult = func(HIWORD(wParam), LOWORD(wParam), (HWND)lParam, bHandled); \
if (bHandled) \
return TRUE; \
}
GLenum func
Definition: glext.h:6028
#define TRUE
Definition: types.h:120
WPARAM wParam
Definition: combotst.c:138
#define WM_COMMAND
Definition: winuser.h:1722
#define HIWORD(l)
Definition: typedefs.h:246
LPARAM lParam
Definition: combotst.c:139
#define LOWORD(l)
Definition: pedump.c:82

Definition at line 1816 of file atlwin.h.

◆ COMMAND_ID_HANDLER

#define COMMAND_ID_HANDLER (   id,
  func 
)
Value:
if (uMsg == WM_COMMAND && id == LOWORD(wParam)) \
{ \
bHandled = TRUE; \
lResult = func(HIWORD(wParam), LOWORD(wParam), (HWND)lParam, bHandled); \
if (bHandled) \
return TRUE; \
}
GLenum func
Definition: glext.h:6028
#define TRUE
Definition: types.h:120
WPARAM wParam
Definition: combotst.c:138
#define WM_COMMAND
Definition: winuser.h:1722
#define HIWORD(l)
Definition: typedefs.h:246
LPARAM lParam
Definition: combotst.c:139
#define LOWORD(l)
Definition: pedump.c:82

Definition at line 1825 of file atlwin.h.

◆ COMMAND_RANGE_HANDLER

#define COMMAND_RANGE_HANDLER (   idFirst,
  idLast,
  func 
)
Value:
if (uMsg == WM_COMMAND && LOWORD(wParam) >= idFirst && LOWORD(wParam) <= idLast) \
{ \
bHandled = TRUE; \
lResult = func(HIWORD(wParam), LOWORD(wParam), (HWND)lParam, bHandled); \
if (bHandled) \
return TRUE; \
}
GLenum func
Definition: glext.h:6028
#define TRUE
Definition: types.h:120
WPARAM wParam
Definition: combotst.c:138
#define WM_COMMAND
Definition: winuser.h:1722
#define HIWORD(l)
Definition: typedefs.h:246
LPARAM lParam
Definition: combotst.c:139
#define LOWORD(l)
Definition: pedump.c:82

Definition at line 1843 of file atlwin.h.

◆ DECLARE_WND_CLASS_EX

#define DECLARE_WND_CLASS_EX (   WndClassName,
  style,
  bkgnd 
)
Value:
static ATL::CWndClassInfo& GetWndClassInfo() \
{ \
static ATL::CWndClassInfo wc = \
{ \
{ sizeof(WNDCLASSEX), style, StartWindowProc, \
0, 0, NULL, NULL, NULL, (HBRUSH)(bkgnd + 1), NULL, WndClassName, NULL }, \
NULL, NULL, IDC_ARROW, TRUE, 0, _T("") \
}; \
return wc; \
}
#define TRUE
Definition: types.h:120
const char * WndClassName
Definition: alphablend.c:13
smooth NULL
Definition: ftsmooth.c:416
#define _T(x)
Definition: vfdio.h:22
#define IDC_ARROW
Definition: winuser.h:682
WNDCLASSEXA WNDCLASSEX
Definition: winuser.h:5694
Arabic default style
Definition: afstyles.h:93

Definition at line 1876 of file atlwin.h.

◆ END_MSG_MAP

#define END_MSG_MAP ( )
Value:
break; \
default: \
ATLASSERT(FALSE); \
break; \
} \
return FALSE; \
}

Definition at line 1789 of file atlwin.h.

◆ GCCU

#define GCCU (   x)    (x)

Definition at line 27 of file atlwin.h.

◆ GET_X_LPARAM

#define GET_X_LPARAM (   lp)    ((int)(short)LOWORD(lp))

Definition at line 56 of file atlwin.h.

◆ GET_Y_LPARAM

#define GET_Y_LPARAM (   lp)    ((int)(short)HIWORD(lp))

Definition at line 59 of file atlwin.h.

◆ MESSAGE_HANDLER

#define MESSAGE_HANDLER (   msg,
  func 
)
Value:
if (uMsg == msg) \
{ \
bHandled = TRUE; \
lResult = func(uMsg, wParam, lParam, bHandled); \
if (bHandled) \
return TRUE; \
}
GLenum func
Definition: glext.h:6028
#define TRUE
Definition: types.h:120
WPARAM wParam
Definition: combotst.c:138
#define msg(x)
Definition: auth_time.c:54
LPARAM lParam
Definition: combotst.c:139

Definition at line 1798 of file atlwin.h.

◆ MESSAGE_RANGE_HANDLER

#define MESSAGE_RANGE_HANDLER (   msgFirst,
  msgLast,
  func 
)
Value:
if (uMsg >= msgFirst && uMsg <= msgLast) \
{ \
bHandled = TRUE; \
lResult = func(uMsg, wParam, lParam, bHandled); \
if (bHandled) \
return TRUE; \
}
GLenum func
Definition: glext.h:6028
#define TRUE
Definition: types.h:120
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139

Definition at line 1807 of file atlwin.h.

◆ NOTIFY_CODE_HANDLER

#define NOTIFY_CODE_HANDLER (   cd,
  func 
)
Value:
if(uMsg == WM_NOTIFY && cd == ((LPNMHDR)lParam)->code) \
{ \
bHandled = TRUE; \
lResult = func((int)wParam, (LPNMHDR)lParam, bHandled); \
if (bHandled) \
return TRUE; \
}
GLenum func
Definition: glext.h:6028
#define TRUE
Definition: types.h:120
static struct cd_image cd
Definition: cdmake.c:182
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
#define WM_NOTIFY
Definition: richedit.h:61

Definition at line 1852 of file atlwin.h.

◆ NOTIFY_HANDLER

#define NOTIFY_HANDLER (   id,
  cd,
  func 
)
Value:
if(uMsg == WM_NOTIFY && id == ((LPNMHDR)lParam)->idFrom && cd == ((LPNMHDR)lParam)->code) \
{ \
bHandled = TRUE; \
lResult = func((int)wParam, (LPNMHDR)lParam, bHandled); \
if (bHandled) \
return TRUE; \
}
GLenum func
Definition: glext.h:6028
#define TRUE
Definition: types.h:120
static struct cd_image cd
Definition: cdmake.c:182
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
#define WM_NOTIFY
Definition: richedit.h:61

Definition at line 1861 of file atlwin.h.

◆ Unused

#define Unused (   x)    (x);

Definition at line 28 of file atlwin.h.