importantinfmanage.cpp
来自「Pim文件夹中为一简单的个人信息管理的程序源码」· C++ 代码 · 共 62 行
CPP
62 行
// 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 + =
减小字号Ctrl + -
显示快捷键?