📄 gamemasterview.h
字号:
// GameMasterView.h : CGameMasterView 类的接口
//
#pragma once
#include "SheetTabCtrl.h"
#include "GameMasterDoc.h"
class CGameMasterView : public CFormView
{
public: // 仅从序列化创建
CGameMasterView();
DECLARE_DYNCREATE(CGameMasterView)
public:
enum{ IDD = IDD_GAMEMASTER_FORM };
// 属性
public:
CGameMasterDoc* GetDocument() const;
private:
int m_nSearchData; //要搜索的整型数据
CString m_strProcess; //当前进程名称或窗体名称
DWORD dataLength; //字长
DWORD proId; //当前进程的ID
public:
CSheetTabCtrl m_taskTab; //Tab 控件
//该控件中包含了任务对象的数组,是任务管理的最高层
// 操作
public:
void SetLength(); //设置字长
protected:
BOOL ReadReg(); //读注册表
BOOL WriteReg(); //写注册表
// 重写
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
virtual void OnInitialUpdate(); // 构造后第一次调用
// 实现
public:
virtual ~CGameMasterView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// 生成的消息映射函数
protected:
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedButtonSearch();
afx_msg void OnBnClickedButtonNew();
afx_msg void OnBnClickedButtonDelete();
afx_msg void OnBnClickedButtonProinfo();
afx_msg void OnBnClickedButtonConfig();
afx_msg void OnBnClickedButtonReset();
afx_msg void OnEnKillfocusEditSearchdata();
afx_msg void OnBnClickedButtonPauseContinue();
afx_msg void OnBnClickedButtonStop();
afx_msg void OnBnClickedButtonMemedit();
};
#ifndef _DEBUG // GameMasterView.cpp 的调试版本
inline CGameMasterDoc* CGameMasterView::GetDocument() const
{ return reinterpret_cast<CGameMasterDoc*>(m_pDocument); }
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -