sprint 1-alpha
Public Member Functions | Static Public Member Functions
sprint::gtl::TWindowManager< T > Struct Template Reference

#include <TWin.h>

Inherits sprint::gtl::CInstance.

List of all members.

Public Member Functions

 TWindowManager (HINSTANCE hInst)
 Ctor: register class.
 ~TWindowManager ()
 dtor: should unregister class...
T * Create (LPCTSTR lpWindowName, int x, int y, int nWidth, int nHeight, HWND hWndParent=HWND_DESKTOP, HMENU hMenu=NULL, DWORD dwStyle=T::CreateWindow_Style(), DWORD dwExStyle=T::CreateWindow_ExStyle())
 Create a new T Window.

Static Public Member Functions

static T * This (HWND hwnd)
static T * OnCreate (HWND hwnd, LPCREATESTRUCT lpCreateStruct)

Detailed Description

template<class T = CWindow>
struct sprint::gtl::TWindowManager< T >

Template Implementation


Member Function Documentation

template<class T = CWindow>
T* sprint::gtl::TWindowManager< T >::Create ( LPCTSTR  lpWindowName,
int  x,
int  y,
int  nWidth,
int  nHeight,
HWND  hWndParent = HWND_DESKTOP,
HMENU  hMenu = NULL,
DWORD  dwStyle = T::CreateWindow_Style(),
DWORD  dwExStyle = T::CreateWindow_ExStyle() 
)

Create a new T Window.

Parameters:
lpWindowNamepointer to window name
xhorizontal position of window
yvertical position of window
nWidthwindow width
nHeightwindow height
hWndParenthandle to parent or owner window
hMenuhandle to menu, or child-window identifier
dwStylewindow style
dwExStyleextended window style

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines