// MFCDlgDemoDlg.h : header file // ////////////////////////////////////////////////////////////////////// // MFCDlgDemoDlg.h - defines a dialog and its controls // // // // Language: Visual Studio.Net, using standard C++ // // Platform: Dell Dimension 8100, Windows XP, SP 2 // // Application: MFC demo - Summer 2004 // // // // Author: Arunpriyaa Nachimuthu,Graduate Student- // // Computer Engineering,Syracuse University // // (315) 443-2781, priyaa@syr.edu // // Instructor: Dr.Jim Fawcett, CST 2-187, Syracuse University // // (315) 443-3948, jfawcett@twcny.rr.com // ////////////////////////////////////////////////////////////////////// // /* * Module Operations: * ================== * MFCDlgDemoDlg.h declares and defines a MFC dialog and its controls. * /* * Maintenance History: * ==================== * ver 1.0 : 08/10/04 * - first release * * Build Process: * ============== * Required Files: * MFCDlgDemoDlg.h, MFCDlgDemoDlg.cpp, MFCDlgDemoD.h, MFCDlgDemo.cpp, * MFCDlgDemo.rc,MFCDlgDemo.rc2 * * */ // #pragma once #include "afxwin.h" #include using namespace std; // CMFCDlgDemoDlg dialog class CMFCDlgDemoDlg : public CDialog { // Construction public: CMFCDlgDemoDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data enum { IDD = IDD_MFCDLGDEMO_DIALOG }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support // Implementation protected: HICON m_hIcon; // Generated message map functions virtual BOOL OnInitDialog(); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); DECLARE_MESSAGE_MAP() public: afx_msg void OnBnClickedOk(); afx_msg void OnBnClickedCancel(); // Text Input CString m_Edit1; // Text Entered CString m_Edit2; // Text List Box CListBox m_ListBox; // Text buffer CString transferText; afx_msg void OnEnChangeEdit1(); afx_msg void OnLbnSelchangeList1(); afx_msg void OnLButtonDown(UINT nFlags, CPoint point); protected: virtual void OnOK(); };