Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <Windows.h>
- class KWnd
- {
- public:
- KWnd(LPCSTR windowName, HINSTANCE hInstance, int cmdShow,
- LRESULT(WINAPI *WndProc)(HWND, UINT, WPARAM, LPARAM),
- LPCSTR menuName = NULL,
- int x = CW_USEDEFAULT, int y = 0,
- int width = CW_USEDEFAULT, int height = 0,
- UINT classStyle = CS_HREDRAW | CS_VREDRAW,
- DWORD windowStyle = WS_OVERLAPPEDWINDOW,
- HWND hParent = NULL);
- private:
- HWND hWnd;
- WNDCLASSEX wc;
- };
Add Comment
Please, Sign In to add comment