#include <atlstl/window/window.hpp>
Public Types | |
Member Types | |
typedef CWindow | parent_class_type |
typedef Window | class_type |
Public Member Functions | |
Construction | |
Window (HWND hwnd=NULL) | |
Constructs an instance of Window. | |
class_type & | operator= (HWND hwnd) |
Assigns a window handle to the instance. | |
template<typename S0, typename S1> | |
HWND | Create (S0 const &lpstrWndClass, HWND hWndParent, RECT &rcPos, S1 const &szWindowName=NULL, DWORD dwStyle=0, DWORD dwExStyle=0, UINT nID=0, LPVOID lpCreateParam=NULL) |
Creates a window. | |
template<typename S0, typename S1> | |
HWND | Create (S0 const &lpstrWndClass, HWND hWndParent, LPRECT lpRect=NULL, S1 const &szWindowName=NULL, DWORD dwStyle=0, DWORD dwExStyle=0, HMENU hMenu=NULL, LPVOID lpCreateParam=NULL) |
Creates a window. | |
Operations | |
template<typename S> | |
BOOL | SetWindowText (S const &lpszString) |
Invokes CWindow::SetWindowText() for an arbitrary string type. | |
template<typename S> | |
BOOL | SetDlgItemText (int nID, S const &lpszString) |
template<typename S> | |
int | MessageBox (S const &lpszText) |
template<typename S0, typename S1> | |
int | MessageBox (S0 const &lpszText, S1 const &lpszCaption) |
template<typename S0, typename S1> | |
int | MessageBox (S0 const &lpszText, S1 const &lpszCaption, UINT nType) |
template<typename S> | |
BOOL | WinHelp (S const &lpszHelp, UINT nCmd=HELP_CONTEXT, DWORD dwData=0) |
class_type& operator= | ( | HWND | hwnd | ) | [inline] |
Assigns a window handle to the instance.
HWND Create | ( | S0 const & | lpstrWndClass, | |
HWND | hWndParent, | |||
RECT & | rcPos, | |||
S1 const & | szWindowName = NULL , |
|||
DWORD | dwStyle = 0 , |
|||
DWORD | dwExStyle = 0 , |
|||
UINT | nID = 0 , |
|||
LPVOID | lpCreateParam = NULL | |||
) | [inline] |
HWND Create | ( | S0 const & | lpstrWndClass, | |
HWND | hWndParent, | |||
LPRECT | lpRect = NULL , |
|||
S1 const & | szWindowName = NULL , |
|||
DWORD | dwStyle = 0 , |
|||
DWORD | dwExStyle = 0 , |
|||
HMENU | hMenu = NULL , |
|||
LPVOID | lpCreateParam = NULL | |||
) | [inline] |
BOOL SetWindowText | ( | S const & | lpszString | ) | [inline] |