?? about.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 + -