📄 importantinfmanage.cpp
字号:
// ImportantInfManage.cpp : implementation file
//
#include "stdafx.h"
#include "PIM.h"
#include "ImportantInfManage.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CImportantInfManage dialog
CImportantInfManage::CImportantInfManage(CWnd* pParent /*=NULL*/)
: CDialog(CImportantInfManage::IDD, pParent)
{
//{{AFX_DATA_INIT(CImportantInfManage)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CImportantInfManage::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CImportantInfManage)
DDX_Control(pDX, IDC_TABINF, m_cTabInf);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CImportantInfManage, CDialog)
//{{AFX_MSG_MAP(CImportantInfManage)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CImportantInfManage message handlers
BOOL CImportantInfManage::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
m_Font.CreatePointFont(150,"宋体",NULL);
((CTabCtrl *)GetDlgItem(IDC_TABINF))->SetFont(&m_Font, true);
m_BrowseInf = new CBrowseInf;
m_InfInput = new CInfInput;
m_cTabInf.SetItemSize((100,100));
m_cTabInf.AddPage("浏览资料", m_BrowseInf, IDD_INFBROWSE);
m_cTabInf.AddPage("添加资料", m_InfInput, IDD_INFINPUT);
m_cTabInf.Show(TRUE,0,0);
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 + -