📄 processmgdlg.h
字号:
// ProcessMgDlg.h : header file
//
#if !defined(AFX_PROCESSMGDLG_H__E26B705A_9552_4500_A10F_F8FAC3A64B6B__INCLUDED_)
#define AFX_PROCESSMGDLG_H__E26B705A_9552_4500_A10F_F8FAC3A64B6B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CProcessMgDlg dialog
class CProcessMgDlg : public CDialog
{
// Construction
public:
CProcessMgDlg(CWnd* pParent = NULL);// standard constructor
public:
CString m_csCID;
CString m_csPID;
// Dialog Data
//{{AFX_DATA(CProcessMgDlg)
enum { IDD = IDD_PROCESSMG_DIALOG };
CListCtrl m_listctrlProcess;
CString m_nNumberofProcess;
CString m_csHour;
CString m_csMinute;
CString m_csSecond;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CProcessMgDlg)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CProcessMgDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnDblclkList1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnAbout();
afx_msg void OnButtonThread();
afx_msg void OnButtonModule();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnClickListTotal(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnSystemQuit();
afx_msg void OnRclickListTotal(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnButtonNewprocess();
afx_msg void OnButtonTerminate();
afx_msg void OnButtonUpdateprocess();
afx_msg void OnButtonClear();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void DisplaySystemTime();
void UpdateProcess();
void Insert(CListCtrl m_l,CString str);
CString GetProcessCreateTime(DWORD dwID,int i);
private:
CStatusBarCtrl m_statusbar;
char szID[56];
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PROCESSMGDLG_H__E26B705A_9552_4500_A10F_F8FAC3A64B6B__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -