Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

83 lines
1.7 KiB

4 years ago
  1. // aboutbox.h : header file
  2. //
  3. // Copyright (C) 1993 Microsoft Corporation
  4. // All rights reserved.
  5. #ifndef _ABOUTBOX_H_
  6. #define _ABOUTBOX_H_
  7. /////////////////////////////////////////////////////////////////////////////
  8. // CBigIcon window
  9. class CBigIcon : public CButton
  10. {
  11. public:
  12. void SizeToContent();
  13. protected:
  14. virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
  15. //{{AFX_MSG(CBigIcon)
  16. afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  17. //}}AFX_MSG
  18. DECLARE_MESSAGE_MAP()
  19. };
  20. /////////////////////////////////////////////////////////////////////////////
  21. // CAboutBox dialog
  22. class CAboutBox : public CDialog
  23. {
  24. public:
  25. CAboutBox(CWnd* pParent = NULL); // standard constructor
  26. // Dialog Data
  27. //{{AFX_DATA(CAboutBox)
  28. enum { IDD = IDD_ABOUTBOX };
  29. // NOTE: the ClassWizard will add data members here
  30. //}}AFX_DATA
  31. protected:
  32. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  33. CBigIcon m_icon; // self-draw button
  34. // Generated message map functions
  35. //{{AFX_MSG(CAboutBox)
  36. virtual BOOL OnInitDialog();
  37. //}}AFX_MSG
  38. DECLARE_MESSAGE_MAP()
  39. };
  40. /////////////////////////////////////////////////////////////////////////////
  41. // CSplashWnd dialog
  42. class CSplashWnd : public CDialog
  43. {
  44. public:
  45. BOOL Create(CWnd* pParent);
  46. // Dialog Data
  47. //{{AFX_DATA(CSplashWnd)
  48. enum { IDD = IDD_SPLASH };
  49. // NOTE: the ClassWizard will add data members here
  50. //}}AFX_DATA
  51. protected:
  52. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  53. CBigIcon m_icon; // self-draw button
  54. CFont m_font; // light version of dialog font
  55. // Generated message map functions
  56. //{{AFX_MSG(CSplashWnd)
  57. virtual BOOL OnInitDialog();
  58. //}}AFX_MSG
  59. DECLARE_MESSAGE_MAP()
  60. };
  61. /////////////////////////////////////////////////////////////////////////////
  62. #endif // _ABOUTBOX_H_