//{{AFX_INCLUDES() #include "DataGrid.h" #include "DataComboBox.h" #include "BtnST.h" //}}AFX_INCLUDES #if !defined(AFX_DLGBITMANAGER_H__328FA931_CC67_426C_B3D7_FE99C1A6324E__INCLUDED_) #define AFX_DLGBITMANAGER_H__328FA931_CC67_426C_B3D7_FE99C1A6324E__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // AnalogDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CDlgBitManager dialog class CDlgBitManager : public CDialog { // Construction public: void SetVal(int row,int col,CString str); CDlgBitManager(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CDlgBitManager) enum { IDD = IDD_DLG_SELECT_BIT }; CDataGrid m_ctrlGridBit; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CDlgBitManager) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL public: CButtonST m_btnEdit,m_btnDel,m_btnCopy,m_btnAdd, m_btnOK, m_btnCancel; CString m_strUID; int m_nID; int m_nStartBit; int m_nEndBit; private: void SetFields(); void Requery(); void RowSelect(); // Implementation protected: // Generated message map functions //{{AFX_MSG(CDlgBitManager) virtual void OnOK(); virtual void OnCancel(); virtual BOOL OnInitDialog(); DECLARE_EVENTSINK_MAP() //}}AFX_MSG DECLARE_MESSAGE_MAP() public: afx_msg void OnBnClickedAdd(); afx_msg void OnBnClickedEdit(); afx_msg void OnBnClickedDel(); afx_msg void OnBnClickedCopy(); protected: virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult); public: afx_msg void OnBnClickedBtnCancel(); afx_msg void OnBnClickedBtnSelect(); protected: virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam); }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_ANALOGDLG_H__328FA931_CC67_426C_B3D7_FE99C1A6324E__INCLUDED_)