|
Sowl
1.0
Simple Object Window Library
|
Builds a call to CreateWindowEx. More...
#include <WindowHandleCreator.h>
Public Member Functions | |
| WindowHandleCreator (HINSTANCE processHandle, LPCWSTR className) | |
| Initialize the builder with given parameters and defaults. More... | |
| HINSTANCE | ProcessHandle () const |
| LPCWSTR | ClassName () const |
| WindowHandleCreator & | WithTitle (LPCWSTR title) |
| WindowHandleCreator & | WithStyle (DWORD style) |
| WindowHandleCreator & | AndStyle (DWORD style) |
| WindowHandleCreator & | WithRect (int x, int y, int width, int height) |
| WindowHandleCreator & | WithParent (HWND hParentWindow) |
| WindowHandleCreator & | WithMenu (HMENU hMenu) |
| WindowHandleCreator & | WithParams (LPVOID lpParam) |
| HWND | Create () const |
Builds a call to CreateWindowEx.
| WindowHandleCreator::WindowHandleCreator | ( | HINSTANCE | processHandle, |
| LPCWSTR | className | ||
| ) |
Initialize the builder with given parameters and defaults.
| processHandle | Handle of the process where the window to be created must belongs to. |
| className | Name of a valid registered window class. |