📄 dlggys.cpp
字号:
// DlgGYS.cpp : implementation file
//
#include "stdafx.h"
#include "a1.h"
#include "DlgGYS.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgGYS dialog
CDlgGYS::CDlgGYS(CWnd* pParent /*=NULL*/)
: CDialog(CDlgGYS::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgGYS)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
this->m_tabGys=new CTabKH(14,false);
}
void CDlgGYS::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgGYS)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgGYS, CDialog)
//{{AFX_MSG_MAP(CDlgGYS)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgGYS message handlers
void CDlgGYS::OnOK()
{
// TODO: Add extra validation here
CDialog::OnOK();
}
BOOL CDlgGYS::OnInitDialog()
{
CDialog::OnInitDialog();
CRect rect;
this->GetClientRect(rect);
// rect.top=20;
// rect.bottom-=60;
this->m_tabGys->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 CDlgGYS::DestroyWindow()
{
delete this->m_tabGys;
this->m_tabGys=NULL;
return CDialog::DestroyWindow();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -