About.h
上传用户:kklily621
上传日期:2013-06-25
资源大小:252k
文件大小:2k
开发平台:

Visual C++

  1. #if !defined(AFX_ABOUT_H__EA34CD41_8FD9_4995_9FB1_723F420439CA__INCLUDED_)
  2. #define AFX_ABOUT_H__EA34CD41_8FD9_4995_9FB1_723F420439CA__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // About.h : header file
  7. //
  8. #include ".HyperLinkHyperLink.h"
  9. class CColorStatic : public CStatic
  10. {
  11. public:
  12. COLORREF m_nColor;
  13. CColorStatic(COLORREF nColor = RGB(255, 0, 0));
  14. void SetColor(COLORREF nColor = RGB(255, 0, 0));
  15. protected:
  16.     //{{AFX_MSG(CHyperLink)
  17.     afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
  18.     //}}AFX_MSG
  19.     DECLARE_MESSAGE_MAP()
  20. };
  21. //=============================================================================================
  22. // CAbout dialog
  23. class CAbout : public CPropertyPage
  24. {
  25. DECLARE_DYNCREATE(CAbout)
  26. // Construction
  27. public:
  28. CAbout();
  29. ~CAbout();
  30. // Dialog Data
  31. //{{AFX_DATA(CAbout)
  32. enum { IDD = IDD_ABOUT };
  33. CColorStatic m_StaticInfo1;
  34. CHyperLink m_LinkEmail;
  35. CHyperLink m_LinkUrl;
  36. //}}AFX_DATA
  37. // Overrides
  38. // ClassWizard generate virtual function overrides
  39. //{{AFX_VIRTUAL(CAbout)
  40. protected:
  41. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  42. //}}AFX_VIRTUAL
  43. // Implementation
  44. protected:
  45. // Generated message map functions
  46. //{{AFX_MSG(CAbout)
  47. virtual BOOL OnInitDialog();
  48. //}}AFX_MSG
  49. DECLARE_MESSAGE_MAP()
  50. //---------------------------------------------------------------------------------------------
  51. //owner declare
  52. public:
  53. void InitDlgResource();
  54. };
  55. //{{AFX_INSERT_LOCATION}}
  56. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  57. #endif // !defined(AFX_ABOUT_H__EA34CD41_8FD9_4995_9FB1_723F420439CA__INCLUDED_)