// 8041RW_demoDlg.h : header file // #pragma once #include "afxwin.h" // CMy8041RW_demoDlg dialog class CMy8041RW_demoDlg : public CDialog { // Construction public: CMy8041RW_demoDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data enum { IDD = IDD_MY8041RW_DEMO_DIALOG }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support // Implementation protected: HICON m_hIcon; // Generated message map functions virtual BOOL OnInitDialog(); #if defined(_DEVICE_RESOLUTION_AWARE) && !defined(WIN32_PLATFORM_WFSP) afx_msg void OnSize(UINT /*nType*/, int /*cx*/, int /*cy*/); #endif DECLARE_MESSAGE_MAP() public: CButton btnWriteDO; afx_msg void OnBnClickedWritedo(); CComboBox cmbSlot; afx_msg void OnBnClickedClear(); afx_msg void OnBnClickedReaddo(); afx_msg void OnBnClickedSetpower(); afx_msg void OnBnClickedRefresh(); afx_msg void OnBnClickedSetsafe(); CButton chkEnable; };