// ADFrm.h : interface of the CADFrame class // ///////////////////////////////////////////////////////////////////////////// #include "MTabWnd.h" #if !defined(AFX_ADFRM_H__D485DF03_85AB_11D1_B878_A68EB300DD63__INCLUDED_) #define AFX_ADFRM_H__D485DF03_85AB_11D1_B878_A68EB300DD63__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "Resource.h" #include "CfgTabCtrlBar.h" #include "QSortData.h" // Added by ClassView class CADFrame : public CMDIChildWnd { DECLARE_DYNCREATE(CADFrame) public: inline void ShowHideDlgSave(BOOL Flag=TRUE) { ShowControlBar(&m_wndDlgSave, Flag, FALSE); } inline void ShowHideStatus(BOOL Flag=TRUE) { ShowControlBar(&m_wndShowStatus, Flag,FALSE); } inline CStatic* m_FileName() { return ((CStatic*)m_wndDlgSave.GetDlgItem(IDC_FileName));} inline CStatic* m_DiskFree() { return ((CStatic*)m_wndDlgSave.GetDlgItem(IDC_DiskFree));} inline CStatic* m_FileLenght() { return ((CStatic*)m_wndDlgSave.GetDlgItem(IDC_FileLenght));} inline CProgressCtrl* m_Progress() { return ((CProgressCtrl*)m_wndDlgSave.GetDlgItem(IDC_PROGRESS));} inline CStatic *m_TimeDiv() { return ((CStatic*)m_wndShowStatus.GetDlgItem(IDC_STATIC_TimeOfDiv));} CADFrame(); // Attributes public: LONG DataAnalyze[MAX_CHANNEL_COUNT][8192]; CDialogBar m_wndDlgBar; CDialogBar m_wndDlgSave; public: // CCfgTabCtrlBar m_wndSTCBar; // 放于右侧的形如VC左侧的控件 CCfgTabCtrlBar* m_pWndSTCBar; // 放于右侧的形如VC左侧的控件 CSplitterWnd m_wndSplitter; CDialogBar m_wndShowStatus; CDialogBar m_wndSetupDlg; CDialogBar m_wndSave; BOOL m_bShowCfgAnalBar; BOOL m_bShowStatusBar; //CToolTipCtrl m_ToolTip; // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CADFrame) public: virtual void ActivateFrame(int nCmdShow = -1); virtual BOOL PreTranslateMessage(MSG* pMsg); protected: virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext); //}}AFX_VIRTUAL // Implementation public: CQSortData m_QSortData; virtual ~CADFrame(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif // Generated message map functions protected: CDialogBar m_DevDlgBar; //{{AFX_MSG(CADFrame) afx_msg void OnClose(); afx_msg void OnCancelMode(); afx_msg void OnLButtonUp(UINT nFlags, CPoint point); //afx_msg void OnHistoryDigit(); afx_msg void OnHistoryWave(); //afx_msg void OnUpdateHistoryDigit(CCmdUI* pCmdUI); afx_msg void OnUpdateHistoryWave(CCmdUI* pCmdUI); afx_msg void OnMoveVolt(); afx_msg void OnDestroy(); afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnUpdateMoveVolt(CCmdUI* pCmdUI); afx_msg void OnCHECKCheckOverflow(); afx_msg void OnShowCfgAnalBar(); afx_msg void OnUpdateShowCfgAnalBar(CCmdUI* pCmdUI); afx_msg void OnShowStatusBar(); afx_msg void OnUpdateShowStatusBar(CCmdUI* pCmdUI); afx_msg void OnUpdateHalfMode(CCmdUI* pCmdUI); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_ADFRM_H__D485DF03_85AB_11D1_B878_A68EB300DD63__INCLUDED_)