ReactOS  0.4.15-dev-425-gc40b086
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 1624 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 1637 of file atlwin.h.

1639  {
1640  CWindowImplBaseT<TBase, TWinTraits> *pThis;
1641  ATOM atom;
1642 
1643  ATLASSERT(m_hWnd == NULL);
1644  pThis = reinterpret_cast<CWindowImplBaseT<TBase, TWinTraits>*>(this);
1645 
1646  if (T::GetWndClassInfo().m_lpszOrigName == NULL)
1647  T::GetWndClassInfo().m_lpszOrigName = pThis->GetWndClassName();
1648  atom = T::GetWndClassInfo().Register(&pThis->m_pfnSuperWindowProc);
1649 
1650  if (szWindowName == NULL)
1651  szWindowName = T::GetWndCaption();
1652  dwStyle = T::GetWndStyle(dwStyle);
1653  dwExStyle = T::GetWndExStyle(dwExStyle);
1654 
1655  return CWindowImplBaseT<TBase, TWinTraits>::Create(hWndParent, rect, szWindowName, dwStyle,
1656  dwExStyle, MenuOrID, atom, lpCreateParam);
1657  }
#define ATLASSERT(x)
Definition: CComVariant.cpp:10
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:1592

Referenced by _tWinMain(), and CreateNotificationBroker().

◆ GetWndCaption()

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

Definition at line 1632 of file atlwin.h.

1633  {
1634  return NULL;
1635  }
smooth NULL
Definition: ftsmooth.c:416

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