Window Class Reference
[Windows Window Library]

#include <atlstl/window/window.hpp>

Inheritance diagram for Window:

EnhancedWindow

List of all members.


Detailed Description

This class inherits from ATL's CWindow, and provides enhanced string operations (using string access shims) and additional functionality (via the EnhancedWindow mixin class template).

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_typeoperator= (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)

Constructor & Destructor Documentation

Window ( HWND  hwnd = NULL  )  [inline, explicit]

Constructs an instance of Window.


Member Function Documentation

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]

Creates a window.

References stlsoft::c_str_ptr().

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]

Creates a window.

References stlsoft::c_str_ptr().

BOOL SetWindowText ( S const &  lpszString  )  [inline]

Invokes CWindow::SetWindowText() for an arbitrary string type.

References stlsoft::c_str_ptr().


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

Generated on Thu Jun 10 08:58:24 2010 for STLSoft by  doxygen 1.5.6