📄 seqnum.cpp
字号:
// SeqNum.cpp : implementation file
//
#include "stdafx.h"
#include "OkMfc.h"
#include "SeqNum.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
extern short iNumImage;
/////////////////////////////////////////////////////////////////////////////
// CSeqNum dialog
CSeqNum::CSeqNum(CWnd* pParent /*=NULL*/)
: CDialog(CSeqNum::IDD, pParent)
{
//{{AFX_DATA_INIT(CSeqNum)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CSeqNum::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CSeqNum)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CSeqNum, CDialog)
//{{AFX_MSG_MAP(CSeqNum)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSeqNum message handlers
BOOL CSeqNum::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
SetDlgItemInt(IDC_NUMIMAGE, iNumImage, FALSE);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void CSeqNum::OnOK()
{
// TODO: Add extra validation here
iNumImage = GetDlgItemInt(IDC_NUMIMAGE, NULL, FALSE);
CDialog::OnOK();
}
BOOL CSeqNum::Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext)
{
// TODO: Add your specialized code here and/or call the base class
return CDialog::Create(IDD, pParentWnd);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -