#pragma once // CViewDialog dialog class CViewDialog : public CDialog { DECLARE_DYNAMIC(CViewDialog) public: CViewDialog(CWnd* pParent = NULL); // standard constructor virtual ~CViewDialog(); virtual BOOL OnInitDialog(); // Dialog Data enum { IDD = IDD_VIEW_DIALOG }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support DECLARE_MESSAGE_MAP() public: afx_msg void OnBnClickedOk(); CString cstrConfig; };