📄 infoview.h
字号:
#if !defined(AFX_INFOVIEW_H__9CF462B7_8082_11D2_929C_0080C8E7F1DB__INCLUDED_)
#define AFX_INFOVIEW_H__9CF462B7_8082_11D2_929C_0080C8E7F1DB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// InfoView.h : header file
//
#include "DiskListCtrl.h"
/////////////////////////////////////////////////////////////////////////////
// CInfoView view
class CInfoView : public CView
{
bool m_bEnableFolder;
public:
CInfoView(); // protected constructor used by dynamic creation
virtual ~CInfoView();
DECLARE_DYNCREATE(CInfoView)
// Attributes
public:
CDiskListCtrl m_ctrlDiskInfo;
BOOL m_bFirstShow;
// Operations
public:
void UpdateFolders();
void UpdateDrives();
long OnDiskCtrlNotify(WPARAM wParam, LPARAM lParam);
void UpdateDriveFolders();
void OnOptionChanged();
void GetMaxMinHeight(int &nMin, int &nMax);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CInfoView)
public:
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
//}}AFX_VIRTUAL
// Implementation
protected:
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CInfoView)
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnRescanAll();
afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnStop();
afx_msg void OnUpdateRescanAll(CCmdUI* pCmdUI);
afx_msg void OnUpdateStop(CCmdUI* pCmdUI);
afx_msg void OnAddFolder();
afx_msg void OnEnableFolder();
afx_msg void OnUpdateEnableFolder(CCmdUI* pCmdUI);
afx_msg void OnUpdateAddFolder(CCmdUI* pCmdUI);
afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_INFOVIEW_H__9CF462B7_8082_11D2_929C_0080C8E7F1DB__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -