All pastes #2051140 Raw Edit

Something

public text v1 · immutable
#2051140 ·published 2011-04-27 08:57 UTC
rendered paste body
#include <Windows.h>
class KWnd {
public:
	KWnd (LPCTSTR windowName, HINSTANCE hInst, int cmdShow,
		LRESULT (WINAPI *pWndProc)(HWND, UINT, WPARAM, LPARAM),
		LPCTSTR menuName,
		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);

	HWND GetHWnd () {return hWnd;}
protected:
	HWND hWnd;
	WNDCLASSEX wc;
};