// Window.h // // // // Revision Log // // Date Who SAR Notes // ========== === ======= ===================================== // (c) Reliable Software, 1997, 98 // Bartosz Milewski, www.relisoft.com // 2001-06-04 mph namespace rfc (Reliable Foundation Class) // #ifndef __WINDOW_H__ #define __WINDOW_H__ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include #include namespace rfc { class Window { public: Window(HWND h = 0) : _h(h) {} void Display(int cmdShow) { assert(_h != 0); ::ShowWindow(_h, cmdShow); ::UpdateWindow(_h); } private: HWND _h; }; } #endif