ReactOS  0.4.12-dev-14-gd0c8636
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 1614 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 1622 of file atlwin.h.

Referenced by _tWinMain(), and SHCreateFromDesktop().

1624  {
1625  CWindowImplBaseT<TBase, TWinTraits> *pThis;
1626  ATOM atom;
1627 
1628  ATLASSERT(m_hWnd == NULL);
1629  pThis = reinterpret_cast<CWindowImplBaseT<TBase, TWinTraits>*>(this);
1630 
1631  if (T::GetWndClassInfo().m_lpszOrigName == NULL)
1632  T::GetWndClassInfo().m_lpszOrigName = pThis->GetWndClassName();
1633  atom = T::GetWndClassInfo().Register(&pThis->m_pfnSuperWindowProc);
1634 
1635  if (szWindowName == NULL)
1636  szWindowName = T::GetWndCaption();
1637  dwStyle = T::GetWndStyle(dwStyle);
1638  dwExStyle = T::GetWndExStyle(dwExStyle);
1639 
1640  return CWindowImplBaseT<TBase, TWinTraits>::Create(hWndParent, rect, szWindowName, dwStyle,
1641  dwExStyle, MenuOrID, atom, lpCreateParam);
1642  }
#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:1582

◆ GetWndCaption()

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

Definition at line 1617 of file atlwin.h.

1618  {
1619  return NULL;
1620  }
smooth NULL
Definition: ftsmooth.c:416

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