about_dlg.cpp

来自「用VC编写」· C++ 代码 · 共 63 行

CPP
63
字号
// About_Dlg.cpp : implementation file
//

#include "stdafx.h"
#include "sjcl.h"
#include "About_Dlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CAbout_Dlg dialog


CAbout_Dlg::CAbout_Dlg(CWnd* pParent /*=NULL*/)
	: CDialog(CAbout_Dlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CAbout_Dlg)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CAbout_Dlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CAbout_Dlg)
	DDX_Control(pDX,IDC_URL_EMAIL,emailLink);
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CAbout_Dlg, CDialog)
	//{{AFX_MSG_MAP(CAbout_Dlg)
	ON_WM_LBUTTONDBLCLK()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CAbout_Dlg message handlers

BOOL CAbout_Dlg::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	
	emailLink.SetURL(_T("mailto:zhangjiansuper@sohu.com"));
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

void CAbout_Dlg::OnLButtonDblClk(UINT nFlags, CPoint point) 
{
	// TODO: Add your message handler code here and/or call default
	CDialog::OnOK();
	//CDialog::OnLButtonDblClk(nFlags, point);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?