|
sprint 1-alpha
|
#include <TWin.h>
Inherits sprint::gtl::CInstance.
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) |
Template Implementation
| 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.
| lpWindowName | pointer to window name |
| x | horizontal position of window |
| y | vertical position of window |
| nWidth | window width |
| nHeight | window height |
| hWndParent | handle to parent or owner window |
| hMenu | handle to menu, or child-window identifier |
| dwStyle | window style |
| dwExStyle | extended window style |
1.7.4