| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- // SNCSetupDlg.h : 头文件
- //
- #pragma once
- #include "afxwin.h"
- #include "global.h"
- #include "uninstall.h"
- // CSNCSetupDlg 对话框
- class CSNCSetupDlg : public CDialog
- {
- // 构造
- public:
- CSNCSetupDlg(CWnd* pParent = NULL); // 标准构造函数
- // 对话框数据
- enum { IDD = IDD_SNCSETUP_DIALOG };
- CProgressCtrl m_progress;
- CStatic m_currentinfo;
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
- void SetProgressToMarquee(int nID);
- void SetProgressNoMarquee();
- void SetSystemError(int errCode);
- void SetUserAbort();
- void SetUnInstallFinished();
- // 实现
- protected:
- HICON m_hIcon;
-
- // 生成的消息映射函数
- virtual BOOL OnInitDialog();
- afx_msg void OnPaint();
- afx_msg void OnClose();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg LRESULT onUserMsgUninstallState (WPARAM wParam, LPARAM lParam);
- DECLARE_MESSAGE_MAP()
- public:
- afx_msg void OnBnClickedButtonClose();
- private:
- CUninstall m_uninstall;
- ThreadParamInfo m_threadParam;
- void StartUninstall();
- bool m_bStop;
- public:
-
- CButton m_buttonclose;
- bool confirm;
- bool deluserdata ;
- };
|