📄 adfrm.h
字号:
// 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"
typedef struct _COUNT
{
SHORT value;
int count_numbers;
}COUNT ,*pCOUNT;
class CADFrame : public CMDIChildWnd
{
DECLARE_DYNCREATE(CADFrame)
public:
void SetStatusTimer(int nElapse);
void KillStatusTimer(void);
public:
inline void ShowHideDlgSave(BOOL Flag=TRUE)
{ShowControlBar(&m_wndDlgSave,Flag,FALSE);}
inline void ShowHideStatus(BOOL Flag=TRUE)
{ShowControlBar(&m_wndShowStatus1,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));}
CADFrame();
// Attributes
public:
CDialogBar m_wndDlgBar;
CDialogBar m_wndDlgSave;
CReBar m_wndReBar;
public:
CfgTabCtrlBar m_wndSTCBar; // 放于右侧的形如VC左侧的控件
CSplitterWnd m_wndSplitter;
CSplitterWnd m_wndSplitter2;
CDialogBar m_wndShowStatus;
CDialogBar m_wndShowStatus1;
CDialogBar m_wndSetupDlg;
CDialogBar m_wndSave;
BOOL m_bShowCfgAnalBar;
BOOL m_bShowStatusBar;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CADFrame)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void ActivateFrame(int nCmdShow = -1);
protected:
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
//}}AFX_VIRTUAL
// Implementation
public:
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 OnHalfMode();
afx_msg void OnUpdateHalfMode(CCmdUI* pCmdUI);
afx_msg void OnIntMode();
afx_msg void OnUpdateIntMode(CCmdUI* pCmdUI);
afx_msg void OnNotEmptyMode();
afx_msg void OnUpdateNotEmptyMode(CCmdUI* pCmdUI);
afx_msg void OnV1010();
afx_msg void OnUpdateV55(CCmdUI* pCmdUI);
afx_msg void OnV55();
afx_msg void OnUpdateV1010(CCmdUI* pCmdUI);
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnV025();
afx_msg void OnUpdateV025(CCmdUI* pCmdUI);
afx_msg void OnV05();
afx_msg void OnUpdateV05(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_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -