系统优化Dlg.h
上传用户:hshkfsl
上传日期:2014-01-04
资源大小:1910k
文件大小:2k
- // 系统优化Dlg.h : header file
- //
- #include "afxcmn.h"
- #include "addfiledlg.h"
- #if !defined(AFX_DLG_H__AA6769FE_C9BD_4AD4_9621_13CEEF3E12D4__INCLUDED_)
- #define AFX_DLG_H__AA6769FE_C9BD_4AD4_9621_13CEEF3E12D4__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CMyDlg dialog
- class CMyDlg : public CDialog
- {
- // Construction
- public:
- CMyDlg(CWnd* pParent = NULL); // standard constructor
- CStringList m_allname;//用来存放mames
- CStringList m_item;//用来存放ITEM
- CString nowtabitem;
- CString nowopen;
- PROCESS_INFORMATION pi;//正运行的进程信息
-
- // Dialog Data
- //{{AFX_DATA(CMyDlg)
- enum { IDD = IDD_MY_DIALOG };
- CTabCtrl m_tab;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMyDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- // Generated message map functions
- //{{AFX_MSG(CMyDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnDestroy();
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnSelchangeTab1(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- bool inittabitem();
- public:
- // 用来显示不同的类型程序
- CListCtrl list;
- // 列出相同类型的文件名
- bool ListSame(CString name);
- afx_msg void OnNMDblclkList1(NMHDR *pNMHDR, LRESULT *pResult);
- DECLARE_EVENTSINK_MAP()
- void ClickImage1();
- afx_msg void OnHelp();
- afx_msg void OnAddItemFile();
- AddFileDlg Addfiledlg;
- afx_msg void OnGetMinMaxInfo(MINMAXINFO* lpMMI);
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DLG_H__AA6769FE_C9BD_4AD4_9621_13CEEF3E12D4__INCLUDED_)