home *** CD-ROM | disk | FTP | other *** search
/ Prima Shareware 3 / DuCom_Prima-Shareware-3_cd1.bin / PROGRAMO / C / SPLASH / SPLASH.H < prev    next >
Encoding:
C/C++ Source or Header  |  1994-07-13  |  1.4 KB  |  73 lines

  1. // splash.h : main header file for the SPLASH application
  2. //
  3.  
  4. #ifndef __AFXWIN_H__
  5.     #error include 'stdafx.h' before including this file for PCH
  6. #endif
  7.  
  8. #include "resource.h"       // main symbols
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CSplashWnd window
  12.  
  13. class CSplashWnd : public CWnd
  14. {
  15. // Construction
  16. public:
  17.     CSplashWnd();
  18.  
  19. // Attributes
  20. public:
  21.     virtual BOOL Create();
  22.     
  23. // Operations
  24. public:
  25.  
  26. // Implementation
  27. public:
  28.     virtual ~CSplashWnd();
  29.  
  30. protected:
  31.     CBitmap m_bmSplash;
  32.     int m_wndWidth;
  33.     int m_wndHeight;
  34.         
  35.     // Generated message map functions
  36.     //{{AFX_MSG(CSplashWnd)
  37.     afx_msg void OnPaint();
  38.     //}}AFX_MSG
  39.     DECLARE_MESSAGE_MAP()
  40. };
  41.  
  42. /////////////////////////////////////////////////////////////////////////////
  43. // CSplashDemoApp:
  44. // See splash.cpp for the implementation of this class
  45. //
  46.  
  47. class CSplashDemoApp : public CWinApp
  48. {
  49. public:
  50.     CSplashDemoApp();
  51.  
  52. // Overrides
  53.     virtual BOOL InitInstance();
  54.  
  55. // Implementation
  56. protected:
  57.     CSplashWnd *m_pwndSplash;
  58.     virtual BOOL OnIdle(LONG lCount);
  59.     virtual BOOL PreTranslateMessage(MSG *pMsg);
  60.     DWORD m_dwSplashTime;
  61.  
  62. public:
  63.     //{{AFX_MSG(CSplashDemoApp)
  64.     afx_msg void OnAppAbout();
  65.     afx_msg void OnHelpSplashme();
  66.     afx_msg void OnUpdateHelpSplashme(CCmdUI* pCmdUI);
  67.     //}}AFX_MSG
  68.     DECLARE_MESSAGE_MAP()
  69. };
  70.  
  71.  
  72. /////////////////////////////////////////////////////////////////////////////
  73.