previewex.h

来自「磁盘容量扫描、但界面和程序结构非常不错」· C头文件 代码 · 共 64 行

H
64
字号
// 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 + =
减小字号Ctrl + -
显示快捷键?