📄 dlgrecord.cpp
字号:
// DlgRecord.cpp : implementation file
//
#include "stdafx.h"
#include "ljdbTest.h"
#include "DlgRecord.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgRecord dialog
CDlgRecord::CDlgRecord(CWnd* pParent /*=NULL*/)
: CDialog(CDlgRecord::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgRecord)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CDlgRecord::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgRecord)
DDX_Control(pDX, IDC_LIST2, m_records);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgRecord, CDialog)
//{{AFX_MSG_MAP(CDlgRecord)
ON_WM_SIZE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgRecord message handlers
void CDlgRecord::OnSize(UINT nType, int cx, int cy)
{
CDialog::OnSize(nType, cx, cy);
if( m_records.m_hWnd == NULL ){
return;
}
CRect rect;
GetClientRect(&rect);
m_records.MoveWindow(rect);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -