/////////////////////////////////////////////////////////////////////////////
//! \file CConnectDlg.h
//! \brief Header CConnectDlg
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_CCONNECTDLG_H__2FB251A0_61E2_443E_8FD3_6D5CF6D41A4D__INCLUDED_)
#define AFX_CCONNECTDLG_H__2FB251A0_61E2_443E_8FD3_6D5CF6D41A4D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
//! \brief CConnectDlg dialog
//!
//! Program setup
/////////////////////////////////////////////////////////////////////////////
class CConnectDlg : public CDialog
{
// Construction
public:
	CConnectDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CConnectDlg)
	enum { IDD = IDD_DIALOG_CONNECT };
	CIPAddressCtrl m_CIPCtrl;				//!< TCP/IP address control
	UINT m_iPortAddress;					//!< Port address
	BOOL m_bAutoCon;						//!< Auto connection
	BOOL m_bXmlWrite;						//!< Write XML files
	char m_ReadDir[_MAX_DRIVE+_MAX_DIR];	//!< Read directory string
	char m_WriteDir[_MAX_DRIVE+_MAX_DIR];	//!< Write directory string
	char m_BMPDir[_MAX_DRIVE+_MAX_DIR];		//!< BMP directory string
	//}}AFX_DATA

	DWORD m_iIPAddress;						//!< TCP/IP address

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CConnectDlg)
protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	void SelectDir(char *pText, char *pDir);

	// Generated message map functions
	//{{AFX_MSG(CConnectDlg)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedReaddir();
	afx_msg void OnBnClickedWritedir();
	afx_msg void OnBnClickedBmpdir();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CCONNECTDLG_H__2FB251A0_61E2_443E_8FD3_6D5CF6D41A4D__INCLUDED_)
