www.pudn.com > CADimage.rar > Window.h, change:2004-08-06,size:427b


#include <windows.h> 
#include <commctrl.h> 
#include <commdlg.h> 
 
class CWindow  
{ 
protected: 
	WNDCLASS WndClass; 
	HWND hWnd; 
	int nHeight, nWidth; 
 
public: 
	CWindow(LPSTR, WNDPROC, HINSTANCE, HICON, HICON, LPSTR, HBRUSH, UINT); 
	~CWindow(); 
 
	HWND Create(LPSTR, DWORD, int, int, int, int, HMENU, LPVOID);  
	inline HWND GetWindow() {return hWnd;}; 
	int GetFile(HWND, char*, char*, bool); 
	void RePaint(); 
};