📄 systeminfoview.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -