#pragma once

class CSplashWindow
{
public:

	//! constructor
														CSplashWindow			();

	//! destructor
	virtual										~CSplashWindow		();


	//!
	bool											Create						( HINSTANCE inhInstance, HWND inhWnd, WORD inBitmapResourceID, int inTimeInMS );

	//!
	void											TimeIsUp					( void );

private:	// *************************************************************

	//!
	void											Draw							( HDC hdc );

	//! windows message callback
	static LRESULT CALLBACK		WndProc						( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam );

	// **********************************************************************

	int								m_iTimerNo;							//!<
	HWND							m_hWindow;							//!< window handle to the splash window
	HBITMAP						m_hBitmap;							//!< handle to the bitmap		
	int								m_iXBitmapSize;					//!<
	int								m_iYBitmapSize;					//!<
};

