DlgSetup.h
资源名称:GGBT.rar [点击查看]
上传用户:lds876
上传日期:2013-05-25
资源大小:567k
文件大小:2k
源码类别:
P2P编程
开发平台:
Visual C++
- #if !defined(AFX_DLGSETUP_H__C8E57B4D_5B40_4AE4_940A_1FF351B072FF__INCLUDED_)
- #define AFX_DLGSETUP_H__C8E57B4D_5B40_4AE4_940A_1FF351B072FF__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // DlgSetup.h : header file
- //
- #include "ctrlext.h"
- #include "DlgOptions.h"
- #include "DlgSystemPage.h"
- #include "DlgAdvancedPage.h"
- #include "DlgDownloadSetup.h"
- #include "DlgSetupStatusWnd.h"
- #include "ButtonEx.h"
- class CSetupRegister;
- /////////////////////////////////////////////////////////////////////////////
- // CDlgSetup dialog
- class CDlgSetup : public CDialog
- {
- // Construction
- public:
- CDlgSetup(CSetupRegister* pSetupRegister, CWnd* pParent = NULL); // standard constructor
- CSetupRegister* m_pSetupRegister;
- // Dialog Data
- //{{AFX_DATA(CDlgSetup)
- enum { IDD = IDD_DIALOG_SETUP };
- CButtonEx m_btnCancel;
- CButtonEx m_btnOK;
- CTreeCtrlEx m_treeOptions;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CDlgSetup)
- public:
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CDlgSetup)
- virtual BOOL OnInitDialog();
- afx_msg void OnSelchangedTreeOptions(NMHDR* pNMHDR, LRESULT* pResult);
- virtual void OnOK();
- afx_msg void OnDestroy();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- void GetData();
- void SetData();
- void OnCommandUI();
- CDlgOptions m_dlgOptions;
- CDlgSystemPage m_dlgSystem;
- CDlgAdvancedPage m_dlgAdvanced;
- CDlgDownloadSetup m_dlgDownloadSetup;
- CDlgSetupStatusWnd m_StatusWnd;
- enum eSetupCate{eBase, eHotkey, eDownloadSetup, eAdvanced, eAllCount};
- CString m_vstrOptions[eAllCount];
- CString m_strComment[eAllCount];
- CImageList m_ctlImage;
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DLGSETUP_H__C8E57B4D_5B40_4AE4_940A_1FF351B072FF__INCLUDED_)