📄 dlgkh.cpp
字号:
// DlgKH.cpp : implementation file
//
#include "stdafx.h"
#include "a1.h"
#include "DlgKH.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgKH dialog
CDlgKH::CDlgKH(CWnd* pParent /*=NULL*/)
: CDialog(CDlgKH::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgKH)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
m_tabKh=new CTabKH(14,true);
}
void CDlgKH::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgKH)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgKH, CDialog)
//{{AFX_MSG_MAP(CDlgKH)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgKH message handlers
void CDlgKH::OnOK()
{
// TODO: Add extra validation here
CDialog::OnOK();
}
BOOL CDlgKH::OnInitDialog()
{
CDialog::OnInitDialog();
CRect rect;
this->GetClientRect(rect);
// rect.top=20;
// rect.bottom-=60;
this->m_tabKh->Create(WS_CHILD|WS_VISIBLE|WS_TABSTOP,rect,this,ID_TABCTRL_YAOPIN);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
BOOL CDlgKH::DestroyWindow()
{
delete this->m_tabKh;
this->m_tabKh=NULL;
return CDialog::DestroyWindow();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -