about.h
上传用户:nhyuejuan
上传日期:2013-12-02
资源大小:171k
文件大小:2k
源码类别:

状态条

开发平台:

Visual C++

  1. /////////////////////////////////////////////////////////////////////////////
  2. // Project:PGRSBAR
  3. // Author:NorthTibet
  4. // Date:星期二, 十二月 31, 2002
  5. // Description:在状态栏例实现进程指示器控制。
  6. //
  7. /////////////////////////////////////////////////////////////////////////////
  8. #pragma once
  9. #include "StatLink.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CAboutDlg dialog used for App pgrsbar
  12. class CAboutDlg : public CDialog
  13. {
  14. public:
  15. CAboutDlg();
  16. //ZXN
  17. protected:
  18. CStaticLink m_wndLink1;
  19. CStaticLink m_wndLink2;
  20. CStaticLink m_wndLink3;
  21. CStaticLink m_wndLink4;
  22. //ZXN
  23. // Dialog Data
  24. //{{AFX_DATA(CAboutDlg)
  25. enum { IDD = IDD_ABOUTBOX };
  26. //}}AFX_DATA
  27. // ClassWizard generated virtual function overrides
  28. //{{AFX_VIRTUAL(CAboutDlg)
  29. protected:
  30. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  31. //}}AFX_VIRTUAL
  32. // Implementation
  33. protected:
  34. //{{AFX_MSG(CAboutDlg)
  35. virtual BOOL OnInitDialog();
  36. //}}AFX_MSG
  37. DECLARE_MESSAGE_MAP()
  38. };
  39. CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD)
  40. {
  41. //{{AFX_DATA_INIT(CAboutDlg)
  42. //}}AFX_DATA_INIT
  43. }
  44. void CAboutDlg::DoDataExchange(CDataExchange* pDX)
  45. {
  46. CDialog::DoDataExchange(pDX);
  47. //{{AFX_DATA_MAP(CAboutDlg)
  48. //}}AFX_DATA_MAP
  49. }
  50. BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
  51. //{{AFX_MSG_MAP(CAboutDlg)
  52. //}}AFX_MSG_MAP
  53. END_MESSAGE_MAP()
  54. BOOL CAboutDlg::OnInitDialog() 
  55. {
  56. CDialog::OnInitDialog();
  57. m_wndLink1.m_link = _T("http://www.vckbase.com");
  58. m_wndLink2.m_link = _T("http://www.vckbase.com");
  59. m_wndLink3.m_link = _T("mailto:vckbase@publik.hk.hi.cn");
  60. m_wndLink4.m_link = _T("http://www.vckbase.com");
  61. m_wndLink1.SubclassDlgItem(IDC_STATIC_ICON, this);
  62. m_wndLink2.SubclassDlgItem(IDC_STATIC_TEXT, this);
  63. m_wndLink3.SubclassDlgItem(IDC_STATIC_MAIL, this);
  64. m_wndLink4.SubclassDlgItem(IDB_STATIC_IMG, this);
  65. return TRUE;  // return TRUE unless you set the focus to a control
  66.               // EXCEPTION: OCX Property Pages should return FALSE
  67. }