chm readerview.h

来自「Windows Mobile,ppc,wince下的chm格式文件阅读器源代码」· C头文件 代码 · 共 68 行

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