Files
Work/mdiwin/LOGOWIN.HPP
2024-08-07 09:16:27 -04:00

26 lines
614 B
C++

#ifndef _LOGOWINDOW_HPP_
#define _LOGOWINDOW_HPP_
#include <mdiwin/window.hpp>
#include <mdiwin/string.hpp>
#include <mdiwin/drawbmp.hpp>
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