systeminfoview.h
来自「类似Linux操作系统0.11版文件系统的文件系统设计和Windows下的操作程」· C头文件 代码 · 共 55 行
H
55 行
#pragma once
class CPropertyGridItemEx : public CXTPPropertyGridItem
{
public:
CPropertyGridItemEx(CString strCaption, LPCTSTR strValue = NULL, CString* pBindString = NULL)
: CXTPPropertyGridItem(strCaption, strValue, pBindString)
{
}
protected:
BOOL OnLButtonDown(UINT nFlags, CPoint point)
{
return TRUE;
}
void OnLButtonDblClk()
{
return;
}
void OnRButtonDown()
{
return;
}
};
// CSystemInfoView 视图
class CSystemInfoView : public CView
{
DECLARE_DYNCREATE(CSystemInfoView)
protected:
CSystemInfoView(); // 动态创建所使用的受保护的构造函数
virtual ~CSystemInfoView();
CXTPPropertyGrid m_PropertyGrid;
public:
virtual void OnDraw(CDC* pDC); // 重写以绘制此视图
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
DECLARE_MESSAGE_MAP()
public:
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnSize(UINT nType, int cx, int cy);
void ShowSystemInfo();
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?