// VCSampDlg.h : header file // #if !defined(AFX_VCSAMPDLG_H__467044CA_8AAF_4B91_BE41_1A2DE0A08C3E__INCLUDED_) #define AFX_VCSAMPDLG_H__467044CA_8AAF_4B91_BE41_1A2DE0A08C3E__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 ///////////////////////////////////////////////////////////////////////////// // CVCSampDlg dialog class CVCSampDlg : public CDialog { // Construction public: CVCSampDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CVCSampDlg) enum { IDD = IDD_VCSAMP_DIALOG }; CComboBox m_AddressListCtrl; CString m_Address; CString m_Status; CString m_ValueRead; CString m_ValueWrite; int m_AddressIndex; //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CVCSampDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: HICON m_hIcon; // Generated message map functions //{{AFX_MSG(CVCSampDlg) virtual BOOL OnInitDialog(); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); afx_msg void OnWriteByteButton(); afx_msg void OnWriteWordButton(); afx_msg void OnReadByteButton(); afx_msg void OnReadWordButton(); afx_msg void OnExitButton(); afx_msg void OnAddressListComboChange(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_VCSAMPDLG_H__467044CA_8AAF_4B91_BE41_1A2DE0A08C3E__INCLUDED_)