⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 about.cpp

📁 ADO的综合介绍和实例详解
💻 CPP
字号:
// About.cpp : implementation file
//

#include "stdafx.h"
#include "Student.h"
#include "About.h"

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

/////////////////////////////////////////////////////////////////////////////
// CAbout dialog


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


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


BEGIN_MESSAGE_MAP(CAbout, CDialog)
	//{{AFX_MSG_MAP(CAbout)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CAbout message handlers

//DEL HBRUSH CAbout::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor) 
//DEL {
//DEL 	HBRUSH hbr = CDialog::OnCtlColor(pDC, pWnd, nCtlColor);
//DEL 	if(nCtlColor== CTLCOLOR_STATIC)
//DEL 	m_hbrush=CreateSolidBrush(RGB(0,0,0));
//DEL 	{
//DEL 		pDC->SetBkMode(TRANSPARENT);
//DEL         //此处设置字体的颜色
//DEL 		pDC->SetTextColor((RGB(155,155,255)));
//DEL 		return m_hbrush;
//DEL 	}
//DEL 	
//DEL }
//DEL void CAbout::OnbtnEMAIL() 
//DEL {
//DEL 	::ShellExecute(NULL,"open","mailto:zhangmim_cn@sina.com",NULL,NULL,SW_SHOWNORMAL);
//DEL 	
//DEL }

BOOL CAbout::OnInitDialog() 
{
	CDialog::OnInitDialog();
	m_wndLink1.SubclassDlgItem(IDC_ADDRESS,this);
	m_wndLink2.m_link=_T("mailto:zhangmim_cn@sina.com");
	m_wndLink2.SubclassDlgItem(IDC_EMAIL,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 + -