?? dlgstatis.cpp
字號(hào):
// DlgStatis.cpp : implementation file
//
#include "stdafx.h"
#include "Demo_airline.h"
#include "DlgStatis.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgStatis property page
IMPLEMENT_DYNCREATE(CDlgStatis, CPropertyPage)
CDlgStatis::CDlgStatis() : CPropertyPage(CDlgStatis::IDD)
{
//{{AFX_DATA_INIT(CDlgStatis)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
CDlgStatis::~CDlgStatis()
{
}
void CDlgStatis::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgStatis)
DDX_Control(pDX, IDC_TREE1, m_tree);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgStatis, CPropertyPage)
//{{AFX_MSG_MAP(CDlgStatis)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgStatis message handlers
BOOL CDlgStatis::OnInitDialog()
{
CPropertyPage::OnInitDialog();
CRect rectTree;
m_tree.GetClientRect(&rectTree);
CRect rectWindow;
GetClientRect(&rectWindow);
m_sheet.AddPage(&m_dlgInfoStatis);
m_sheet.AddPage(&m_dlgAbsentList);
m_sheet.Create(this,WS_CHILD|WS_VISIBLE,WS_EX_CONTROLPARENT);
m_sheet.SetWindowPos(NULL,rectTree.right+ 5,0,rectWindow.right,rectWindow.bottom-50,NULL);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -