📄 about.h
字号:
/////////////////////////////////////////////////////////////////////////////
// Project:OPENFILEDLG
// Author:Northtibet
// Date:星期三, 八月 28, 2002
// Description:本程序示范了如何增强CFileDialog的功能。
//
/////////////////////////////////////////////////////////////////////////////
#pragma once
#include "StatLink.h"
/////////////////////////////////////////////////////////////////////////////
// CAboutDlg dialog used for App OpenFileDlg
class CAboutDlg : public CDialog
{
public:
CAboutDlg();
//ZXN
protected:
CStaticLink m_wndLink1;
CStaticLink m_wndLink2;
CStaticLink m_wndLink3;
CStaticLink m_wndLink4;
//ZXN
// Dialog Data
//{{AFX_DATA(CAboutDlg)
enum { IDD = IDD_ABOUTBOX };
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAboutDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
//{{AFX_MSG(CAboutDlg)
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD)
{
//{{AFX_DATA_INIT(CAboutDlg)
//}}AFX_DATA_INIT
}
void CAboutDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CAboutDlg)
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
//{{AFX_MSG_MAP(CAboutDlg)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
BOOL CAboutDlg::OnInitDialog()
{
CDialog::OnInitDialog();
m_wndLink1.m_link = _T("http://www.vckbase.com");
m_wndLink2.m_link = _T("http://www.vckbase.com");
m_wndLink3.m_link = _T("mailto:vckbase@publik.hk.hi.cn");
m_wndLink4.m_link = _T("http://www.vckbase.com");
m_wndLink1.SubclassDlgItem(IDC_STATIC_ICON, this);
m_wndLink2.SubclassDlgItem(IDC_STATIC_TEXT, this);
m_wndLink3.SubclassDlgItem(IDC_STATIC_MAIL, this);
m_wndLink4.SubclassDlgItem(IDB_STATIC_IMG, this);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -