DemonMemory/源代码/ChooseProcessDlg.h

36 lines
745 B
C++

#pragma once
#include "afxwin.h"
#include "afxcmn.h"
#include "TlHelp32.h"
// CChooseProcessDlg 对话框
class CChooseProcessDlg : public CDialogEx
{
DECLARE_DYNAMIC(CChooseProcessDlg)
private:
DWORD m_dwID;
char m_szProcessName[MAX_PATH];
public:
DWORD GetProcessID();
char* GetProcessName();
BOOL InitListControl();
BOOL GetProcessInfo();
public:
CChooseProcessDlg(CWnd* pParent = NULL); // 标准构造函数
virtual ~CChooseProcessDlg();
// 对话框数据
enum { IDD = IDD_DIALOG_CHOOSE_PROCESS };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedOk();
CListCtrl m_ProcessList;
virtual BOOL OnInitDialog();
};