#pragma once

#include "PShtWiz1.h"

class CConnectionWizardDlg : public CDlgPageWizard
{
	DECLARE_DYNAMIC(CConnectionWizardDlg)
public:
	//CConnectionWizardDlg(CWnd* pParent = NULL);   // standard constructor
	CConnectionWizardDlg(LPCTSTR pszCaption = NULL, LPCTSTR pszHeaderTitle = NULL, LPCTSTR pszHeaderSubTitle = NULL);
	virtual ~CConnectionWizardDlg();

	enum { IDD = IDD_WIZARD };

	void Localize();

protected:
	HICON m_icnWnd;
	CListCtrl m_provider;
	int m_iOS;
	int m_iTotalDownload;
	int m_iConnectionType;

	void SetCustomItemsActivation();

	virtual BOOL OnInitDialog();
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
	afx_msg void OnBnClickedApply();
	afx_msg void OnBnClickedCancel();
	afx_msg void OnBnClickedWizRadioOsNtxp();
	afx_msg void OnBnClickedWizRadioUs98me();
	afx_msg void OnBnClickedWizLowdownloadRadio();
	afx_msg void OnBnClickedWizMediumdownloadRadio();
	afx_msg void OnBnClickedWizHighdownloadRadio();
	afx_msg void OnBnClickedWizResetButton();
	afx_msg void OnNMClickProviders(NMHDR *pNMHDR, LRESULT *pResult);

	virtual LRESULT OnWizardNext();
};
