filesvw.h
来自「API经典入门」· C头文件 代码 · 共 42 行
H
42 行
// filesvw.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CFilesView view
// Top and left margins are given in
// units of characters.
#define TOP_MARGIN 3
#define LEFT_MARGIN 1
class CFilesView : public CScrollView
{
DECLARE_DYNCREATE(CFilesView)
protected:
CFilesView(); // protected constructor used by dynamic creation
// Attributes
protected:
COleDataSource m_dataSource;
// Operations
public:
// Implementation
protected:
virtual ~CFilesView();
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual void OnInitialUpdate(); // first time after construct
BOOL HitTestFiles (CPoint point, CString& strHit);
// Generated message map functions
//{{AFX_MSG(CFilesView)
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnDropFiles(HDROP hDropInfo);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?