ShaDuPage.h
上传用户:shouhua
上传日期:2014-12-06
资源大小:5685k
文件大小:2k
- #if !defined(AFX_SHADUPAGE_H__429482D2_1C88_4DF1_BF5E_E89F508DF874__INCLUDED_)
- #define AFX_SHADUPAGE_H__429482D2_1C88_4DF1_BF5E_E89F508DF874__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // ShaDuPage.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CShaDuPage dialog
- #include "pefile.h"
- #include "MyList.h"
- struct threadInfo
- {
- CPEFile *m_file;
- MyList* m_MyChaDu;
- CString m_Dir;
- };
- UINT ThreadFunc(LPVOID lpParam);
- class CShaDuPage : public CPropertyPage
- {
- DECLARE_DYNCREATE(CShaDuPage)
- // Construction
- public:
- BOOL IsMonitor;
- void ExaminaU();
- void SetHandle(HANDLE handle);
- BOOL IsChaDu;
- HANDLE hDevice;
- void ShaDu(CString dir);
- CShaDuPage();
- ~CShaDuPage();
- CPEFile *m_pe_file;
- // Dialog Data
- //{{AFX_DATA(CShaDuPage)
- enum { IDD = IDD_DIALOG_CHADU };
- MyList m_ChaDu;
- CButton m_Check2;
- CButton m_Check1;
- CButton m_Choose;
- CButton m_Check3;
- int m_Radio;
- BOOL m_1;
- BOOL m_2;
- BOOL m_3;
- BOOL m_4;
- BOOL m_5;
- BOOL m_6;
- BOOL m_7;
- BOOL m_8;
- BOOL m_9;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generate virtual function overrides
- //{{AFX_VIRTUAL(CShaDuPage)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- CWinThread* pThread;
- // Generated message map functions
- //{{AFX_MSG(CShaDuPage)
- virtual BOOL OnInitDialog();
- afx_msg void OnButtonChoose();
- afx_msg void OnButtonStart();
- afx_msg void OnPaint();
- afx_msg void OnRadio1();
- afx_msg void OnRadio2();
- afx_msg void OnRadio3();
- afx_msg void OnButtonU();
- afx_msg void OnButtonDef();
- //afx_msg BOOL OnDeviceChange(UINT,DWORD);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- CImageList *m_pImage;
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_SHADUPAGE_H__429482D2_1C88_4DF1_BF5E_E89F508DF874__INCLUDED_)