ReactOS  0.4.14-dev-593-g1793dcc
ATL::CWindowImpl< T, TBase, TWinTraits > Class Template Reference

#include <atlwin.h>

Inheritance diagram for ATL::CWindowImpl< T, TBase, TWinTraits >:
Collaboration diagram for ATL::CWindowImpl< T, TBase, TWinTraits >:

Public Member Functions

HWND Create (HWND hWndParent, _U_RECT rect=NULL, LPCTSTR szWindowName=NULL, DWORD dwStyle=0, DWORD dwExStyle=0, _U_MENUorID MenuOrID=0U, LPVOID lpCreateParam=NULL)
 
- Public Member Functions inherited from ATL::CWindowImplBaseT< TBase, TWinTraits >
 CWindowImplBaseT ()
 
virtual void OnFinalMessage (HWND)
 
BOOL SubclassWindow (HWND hWnd)
 
virtual WNDPROC GetWindowProc ()
 
LRESULT DefWindowProc (UINT uMsg, WPARAM wParam, LPARAM lParam)
 
HWND Create (HWND hWndParent, _U_RECT rect, LPCTSTR szWindowName, DWORD dwStyle, DWORD dwExStyle, _U_MENUorID MenuOrID, ATOM atom, LPVOID lpCreateParam)
 
- Public Member Functions inherited from ATL::CWindowImplRoot< TBase >
 CWindowImplRoot ()
 
virtual ~CWindowImplRoot ()
 
- Public Member Functions inherited from ATL::CMessageMap
virtual BOOL ProcessWindowMessage (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT &lResult, DWORD dwMsgMapID)=0
 

Static Public Member Functions

static LPCTSTR GetWndCaption ()
 
- Static Public Member Functions inherited from ATL::CWindowImplBaseT< TBase, TWinTraits >
static DWORD GetWndStyle (DWORD dwStyle)
 
static DWORD GetWndExStyle (DWORD dwExStyle)
 
static LRESULT CALLBACK StartWindowProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 
static LRESULT CALLBACK WindowProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 

Additional Inherited Members

- Public Types inherited from ATL::CWindowImplRoot< TBase >
enum  { WINSTATE_DESTROYED = 0x00000001 }
 
- Public Attributes inherited from ATL::CWindowImplBaseT< TBase, TWinTraits >
WNDPROC m_pfnSuperWindowProc
 
- Public Attributes inherited from ATL::CWindowImplRoot< TBase >
CWndProcThunk m_thunk
 
const _ATL_MSGm_pCurrentMsg
 
DWORD m_dwState
 

Detailed Description

template<class T, class TBase = CWindow, class TWinTraits = CControlWinTraits>
class ATL::CWindowImpl< T, TBase, TWinTraits >

Definition at line 1623 of file atlwin.h.

Member Function Documentation

◆ Create()

template<class T, class TBase = CWindow, class TWinTraits = CControlWinTraits>
HWND ATL::CWindowImpl< T, TBase, TWinTraits >::Create ( HWND  hWndParent,
_U_RECT  rect = NULL,
LPCTSTR  szWindowName = NULL,
DWORD  dwStyle = 0,
DWORD  dwExStyle = 0,
_U_MENUorID  MenuOrID = 0U,
LPVOID  lpCreateParam = NULL 
)
inline

Definition at line 1631 of file atlwin.h.

1633  {
1634  CWindowImplBaseT<TBase, TWinTraits> *pThis;
1635  ATOM atom;
1636 
1637  ATLASSERT(m_hWnd == NULL);
1638  pThis = reinterpret_cast<CWindowImplBaseT<TBase, TWinTraits>*>(this);
1639 
1640  if (T::GetWndClassInfo().m_lpszOrigName == NULL)
1641  T::GetWndClassInfo().m_lpszOrigName = pThis->GetWndClassName();
1642  atom = T::GetWndClassInfo().Register(&pThis->m_pfnSuperWindowProc);
1643 
1644  if (szWindowName == NULL)
1645  szWindowName = T::GetWndCaption();
1646  dwStyle = T::GetWndStyle(dwStyle);
1647  dwExStyle = T::GetWndExStyle(dwExStyle);
1648 
1649  return CWindowImplBaseT<TBase, TWinTraits>::Create(hWndParent, rect, szWindowName, dwStyle,
1650  dwExStyle, MenuOrID, atom, lpCreateParam);
1651  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:9
WORD ATOM
Definition: dimm.idl:113
& rect
Definition: startmenu.cpp:1413
smooth NULL
Definition: ftsmooth.c:416
HWND Create(HWND hWndParent, _U_RECT rect, LPCTSTR szWindowName, DWORD dwStyle, DWORD dwExStyle, _U_MENUorID MenuOrID, ATOM atom, LPVOID lpCreateParam)
Definition: atlwin.h:1591

Referenced by _tWinMain().

◆ GetWndCaption()

template<class T, class TBase = CWindow, class TWinTraits = CControlWinTraits>
static LPCTSTR ATL::CWindowImpl< T, TBase, TWinTraits >::GetWndCaption ( )
inlinestatic

Definition at line 1626 of file atlwin.h.

1627  {
1628  return NULL;
1629  }
smooth NULL
Definition: ftsmooth.c:416

The documentation for this class was generated from the following file: