📄 loadfontview.h
字号:
// LoadFontView.h : interface of the CLoadFontView class
//
/////////////////////////////////////////////////////////////////////////////
#include "FontList.h"
class CLoadFontView : public CListView
{
protected: // create from serialization only
CLoadFontView();
DECLARE_DYNCREATE(CLoadFontView)
// Attributes
public:
enum {BoardDeviceSubitem, BoardSubitem, NormalSubitem, CompressedSubitem};
CLoadFontDoc* GetDocument();
CDlgcLoadFont *m_pLF;
private:
CFontList *m_pFontBox;
// Operations
public:
void PopUpListBox(NMHDR *pNMHDR);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLoadFontView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CLoadFontView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CLoadFontView)
afx_msg void OnClick(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDblclk(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnRclick(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in LoadFontView.cpp
inline CLoadFontDoc* CLoadFontView::GetDocument()
{ return (CLoadFontDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -