#ifndef _LOGOWINDOW_HPP_ #define _LOGOWINDOW_HPP_ #include #include #include class LogoWindow : public Window, public DrawBitmap { public: LogoWindow(HINSTANCE hInstance,HINSTANCE hLibrary); virtual ~LogoWindow(); WORD showLogo(String &logoBitmapName); private: enum{TimerID=0x01,TimeOut=3000}; static char smszClassName[]; long WndProc(UINT message,WPARAM wParam,LPARAM lParam); void registerClass(void); void paint()const; void messageLoop(void); HINSTANCE mhInstance; HINSTANCE mhLibrary; HBITMAP mhBitmap; WORD mIsDestroyed; }; #endif