📄 showosdlg.h
字号:
#if !defined(AFX_SHOWOSDLG_H__0ED959CF_A28C_46C2_AD5B_C4B3AE1AD3D3__INCLUDED_)
#define AFX_SHOWOSDLG_H__0ED959CF_A28C_46C2_AD5B_C4B3AE1AD3D3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ShowosDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CShowosDlg dialog
class CShowosDlg : public CDialog
{
public:
bool ifinput;//判断是否有执行命令
bool ifonshow;//判断是否显示此对话框。用于是否需更新数据。
bool ifinitlist;//判断是否要初始化列表控件。
// Construction
public:
CShowosDlg(CWnd* pParent = NULL); // standard constructor
/////////////////////////////////////////////////////////////////////////////
void Updatashow();
void InitList(); //初始化列表控件
bool Updatawaitlist(Smemory memory); //更新等待进程列表
bool Updatareadylist(Smemory memory);//更新就绪进程列表
bool Updataindexlist(Smemory memory);//更新主存列表
bool Updataabc(Smemory memory,int a,int b[2],int c[2]); //外设显示
HTREEITEM InsertTree(HTREEITEM hRoot,char name[6],byte type,int index); //磁盘文件显示
// Dialog Data
//{{AFX_DATA(CShowosDlg)
enum { IDD = IDD_SHOWOSDLG };
CTreeCtrl m_showdisk;
CListCtrl m_indexlist;
CListCtrl m_waitlist;
CListCtrl m_readylist;
CString m_showtime;
int m_itimeslice;
CString m_strdictate;
CString m_strmidresult;
CString m_showprocess;
CString m_strinput;
CString m_strresult;
CString m_strinfo;
CString m_waita;
CString m_waitb;
CString m_waitc;
CString m_owna;
CString m_ownb;
CString m_ownc;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CShowosDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CShowosDlg)
virtual void OnCancel();
virtual void OnOK();
afx_msg void Oncarryout();
afx_msg void OnChangeInput();
virtual BOOL OnInitDialog();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedButton1();
afx_msg void OnBnClickedButton2();
afx_msg void OnBnClickedButton3();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SHOWOSDLG_H__0ED959CF_A28C_46C2_AD5B_C4B3AE1AD3D3__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -