home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / mslang / ttips2 / splash.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-08  |  1.7 KB  |  82 lines

  1. // splash.h : header file
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CBigIcon window
  6.  
  7. class CBigIcon : public CButton
  8. {
  9. // Attributes
  10. public:
  11.  
  12. // Operations
  13. public:
  14.     void SizeToContent();
  15.  
  16. // Implementation
  17. protected:
  18.     virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
  19.  
  20.     //{{AFX_MSG(CBigIcon)
  21.     afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  22.     //}}AFX_MSG
  23.     DECLARE_MESSAGE_MAP()
  24. };
  25.  
  26. /////////////////////////////////////////////////////////////////////////////
  27. // CAboutDlg dialog used for App About
  28.  
  29. class CAboutDlg : public CDialog
  30. {
  31. public:
  32.     CAboutDlg();
  33.  
  34. // Dialog Data
  35.     //{{AFX_DATA(CAboutDlg)
  36.     enum { IDD = IDD_ABOUTBOX };
  37.     //}}AFX_DATA
  38.  
  39. // Implementation
  40. protected:
  41.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  42.     CBigIcon m_icon; // self-draw button
  43.  
  44.     // Generated message map functions
  45.     //{{AFX_MSG(CAboutDlg)
  46.     virtual BOOL OnInitDialog();
  47.     //}}AFX_MSG
  48.     DECLARE_MESSAGE_MAP()
  49. };
  50.  
  51.  
  52. /////////////////////////////////////////////////////////////////////////////
  53. // CSplash dialog
  54.  
  55. class CSplash : public CDialog
  56. {
  57. // Construction
  58. public:
  59.     CSplash(CWnd* pParent = NULL);    // standard constructor
  60.     BOOL Create(CWnd* pParent);
  61.  
  62. // Dialog Data
  63.     //{{AFX_DATA(CSplash)
  64.     enum { IDD = IDD_SPLASH };
  65.         // NOTE: the ClassWizard will add data members here
  66.     //}}AFX_DATA
  67.  
  68. // Implementation
  69. protected:
  70.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  71.     CBigIcon m_icon; // self-draw button
  72.     CFont m_font;   // light version of dialog font
  73.  
  74.     // Generated message map functions
  75.     //{{AFX_MSG(CSplash)
  76.     virtual BOOL OnInitDialog();
  77.         // NOTE: the ClassWizard will add member functions here
  78.     //}}AFX_MSG
  79.     DECLARE_MESSAGE_MAP()
  80. };
  81.  
  82.