#if !defined(AFX_DATADIALOG_H__FD52B62B_B0EF_4A4F_9672_8795D952DBA7__INCLUDED_) #define AFX_DATADIALOG_H__FD52B62B_B0EF_4A4F_9672_8795D952DBA7__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // DataDialog.h : header file // ///////////////////////////////////////////////////////////////////////////// // CDataDialog dialog class CDataDialog : public CDialog // this dialog-based class is used to getting data directly from user as character or binary . { // Construction public: CDataDialog(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CDataDialog) enum { IDD = IDD_DataDialog }; CString strdata;// an Editbox variable that shows the data string that user have entered in. int DataType;// a radio-button variable to set the type of data that user wants to type in "strdata" Editbox. //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CDataDialog) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CDataDialog) virtual BOOL OnInitDialog();// called when this dialog is opened by user. //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_DATADIALOG_H__FD52B62B_B0EF_4A4F_9672_8795D952DBA7__INCLUDED_)