Guest User

KWnd.h

a guest
Dec 21st, 2015
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <Windows.h>
  2.  
  3. class KWnd
  4. {
  5. public:
  6.     KWnd(LPCSTR windowName, HINSTANCE hInstance, int cmdShow,
  7.         LRESULT(WINAPI *WndProc)(HWND, UINT, WPARAM, LPARAM),
  8.         LPCSTR menuName = NULL,
  9.         int x = CW_USEDEFAULT, int y = 0,
  10.         int width = CW_USEDEFAULT, int height = 0,
  11.         UINT classStyle = CS_HREDRAW | CS_VREDRAW,
  12.         DWORD windowStyle = WS_OVERLAPPEDWINDOW,
  13.         HWND hParent = NULL);
  14. private:
  15.     HWND hWnd;
  16.     WNDCLASSEX wc;
  17. };
Add Comment
Please, Sign In to add comment