?? 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 + -