📄 mainfrm.h
字号:
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__9990FFA8_494E_40C2_9F7F_7D86106341C4__INCLUDED_)
#define AFX_MAINFRM_H__9990FFA8_494E_40C2_9F7F_7D86106341C4__INCLUDED_
//#include "ChildFrm.h"
#include "MultiSplitterView.h"
#include"SlabInputFormView.h"
#include "ToolBarEx.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CMainFrame : public CMDIFrameWnd
{
DECLARE_DYNAMIC(CMainFrame)
public:
CMainFrame();
// Attributes
public:
// Operations
public:
// CChildFrame *m_pInput,*m_pMade,*m_proll,*m_pInputView;
CImageList m_imageList;
UINT m_currentwin;
CMultiSplitterView m_SplitterFirst;
CSplitterWnd m_SplitterSecond;
// CSplitterWnd m_SplitterThird;
CWinThread *p_socket_thread;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
//}}AFX_VIRTUAL
// Implementation
public:
void SetToolBarShow();
void SetToolBarHide();
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // control bar embedded members
CStatusBar m_wndStatusBar;
CToolBar m_wndToolBar;
CToolBarEx m_wndToolBar_mark;
// Generated message map functions
protected:
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnDestroy();
afx_msg void OnSlabInput();
afx_msg void OnSlabSearch();
afx_msg void OnFeed();
afx_msg LRESULT ProcessMessage(WPARAM wParam, LPARAM lParam);
afx_msg void OnSetConfig();
afx_msg LRESULT ProcessClientOPCEvent(WPARAM wParam, LPARAM lParam);
afx_msg void OnSlabHisRecord();
afx_msg void OnSlabOut();
afx_msg void OnSlabStack();
afx_msg void OnSlabReturn();
//}}AFX_MSG
afx_msg LRESULT OnRaMsg( WPARAM wParam,LPARAM lParam );
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINFRM_H__9990FFA8_494E_40C2_9F7F_7D86106341C4__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -