📄 chm readerview.h
字号:
// CHMReaderView.h : interface of the CCHMReaderView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_CHMREADERVIEW_H__B6D00686_6E65_4EE9_BAB0_01A8FE8F3607__INCLUDED_)
#define AFX_CHMREADERVIEW_H__B6D00686_6E65_4EE9_BAB0_01A8FE8F3607__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
class CCHMReaderView : public CTreeView
{
protected: // create from serialization only
CCHMReaderView();
DECLARE_DYNCREATE(CCHMReaderView)
// Attributes
public:
CCHMReaderDoc* GetDocument();
// Operations
public:
CCeTitleBar m_wndTitleBar;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCHMReaderView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
protected:
virtual void OnInitialUpdate(); // called first time after construct
virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CCHMReaderView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CCHMReaderView)
afx_msg int OnCreate( LPCREATESTRUCT lpCreateStruct );
afx_msg void OnSetFocus( CWnd* pOldWnd );
afx_msg void OnDestroy();
afx_msg void OnClick(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnRecognizeGesture(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in CHMReaderView.cpp
inline CCHMReaderDoc* CCHMReaderView::GetDocument()
{ return (CCHMReaderDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CHMREADERVIEW_H__B6D00686_6E65_4EE9_BAB0_01A8FE8F3607__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -