📄 previewex.h
字号:
// MyPreviewView.h : header file
//
#include "afxpriv.h"
#include "Common/FlatButton.h"
/////////////////////////////////////////////////////////////////////////////
// CPreviewViewEx view
class CPreviewViewEx : public CPreviewView
{
protected:
CPreviewViewEx(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CPreviewViewEx)
// Attributes
public:
protected:
CFlatButton m_wndPrint;
CFlatButton m_wndNext;
CFlatButton m_wndPrevious;
CFlatButton m_wndOnetwo;
CFlatButton m_wndZoomIn;
CFlatButton m_wndZoomOut;
CFlatButton m_wndClose;
HICON m_hIconOne, m_hIconTwo;
bool m_bOne;
// Operations
public:
// Overrides
virtual void OnDisplayPageNumber(UINT nPage, UINT nPagesDisplayed);
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPreviewViewEx)
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CPreviewViewEx();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CPreviewViewEx)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
//}}AFX_MSG
afx_msg void OnPreviewPrint();
afx_msg void OnUpdateNumPageChange(CCmdUI* pCmdUI);
afx_msg void OnUpdateZoomIn(CCmdUI* pCmdUI);
afx_msg void OnUpdateZoomOut(CCmdUI* pCmdUI);
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -