📄 dlgconntinuednumber.cpp
字号:
// DlgConntinuedNumber.cpp : implementation file
//
#include "stdafx.h"
#include "Lottery.h"
#include "DlgConntinuedNumber.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgConntinuedNumber dialog
CDlgConntinuedNumber::CDlgConntinuedNumber(CWnd* pParent /*=NULL*/)
: CDialog(CDlgConntinuedNumber::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgConntinuedNumber)
//}}AFX_DATA_INIT
m_isFilled=FALSE;
}
void CDlgConntinuedNumber::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgConntinuedNumber)
DDX_Control(pDX, IDC_LIST1, m_list);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgConntinuedNumber, CDialog)
//{{AFX_MSG_MAP(CDlgConntinuedNumber)
ON_WM_SIZE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgConntinuedNumber message handlers
void CDlgConntinuedNumber::OnSize(UINT nType, int cx, int cy)
{
CDialog::OnSize(nType, cx, cy);
if (m_list.m_hWnd)
{
m_list.MoveWindow(0,0,cx,cy);
}
}
BOOL CDlgConntinuedNumber::OnInitDialog()
{
CDialog::OnInitDialog();
DWORD style=m_list.GetExtendedStyle();
style |=(LVS_EX_FLATSB|LVS_EX_GRIDLINES|LVS_EX_ONECLICKACTIVATE|LVS_EX_FULLROWSELECT);
m_list.SetExtendedStyle(style);
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -