📄 pregotodlg.h
字号:
#pragma once //这些代码由王昌栋编写,未经允许,不得随便改动,如有问题欢迎提出!
#include "afxwin.h"
#include "afxcmn.h"
// CPregotoDlg 对话框
class CPregotoDlg : public CDialog
{
DECLARE_DYNAMIC(CPregotoDlg)
public:
CPregotoDlg(CWnd* pParent = NULL); // 标准构造函数
virtual ~CPregotoDlg();
// 对话框数据
int nMax; //最大页码
int nGoto; //转向页码
int nCurPage; //当前页码
enum { IDD = IDD_PREGOTO_DLG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
DECLARE_MESSAGE_MAP()
public:
CEdit cEdtGoto;
public:
int vGoto;
public:
CSpinButtonCtrl cSpinGoto;
public:
afx_msg void OnBnClickedOk();
afx_msg void OnKillfocusGoto();
public:
virtual BOOL OnInitDialog();
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -