📄 mainfrm.h
字号:
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__10476F93_0AC4_45C3_8E83_91BA02DF2B81__INCLUDED_)
#define AFX_MAINFRM_H__10476F93_0AC4_45C3_8E83_91BA02DF2B81__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "BDControlBar.h"
#include "FlatButton.h"
class StatuButton : public CFlatButton
{
public:
StatuButton( CString strTitle, CString strFile, DWORD dwData );
~StatuButton();
void SetTitle( CString strTitle );
void SetFileName( CString strFile );
void SetData( DWORD dwData );
CString GetFileName();
DWORD GetData();
protected:
CString m_strTitle;
CString m_strFile;
DWORD m_dwData;
afx_msg void OnClicked();
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
afx_msg void OnBtMenuActive();
afx_msg void OnBtMenuClose();
DECLARE_MESSAGE_MAP()
};
class CMainFrame : public CMDIFrameWnd
{
DECLARE_DYNAMIC(CMainFrame)
public:
CMainFrame();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
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;
CImageList m_btnImageList;
CPtrArray m_arStatuButton;
CBDControlBar m_workSpace;
CCJControlBar m_wndOutput;
CDialogBar m_dlgBarWage;
// Generated message map functions
protected:
void AddStatuButton( CString strTitle, CString strFile, DWORD dwData );
void InitDailishang();
void InitYuangong();
void InitControlBar();
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnFileYuangong();
afx_msg void OnFileDailishang();
afx_msg void OnYjDailiyj();
afx_msg void OnWhSp();
afx_msg void OnWhSj();
afx_msg void OnTgWlt();
afx_msg void OnFileGh();
afx_msg void OnJsGuanggao();
afx_msg void OnJsTuiguang();
afx_msg void OnViewWorkspace();
afx_msg void OnUpdateViewWorkspace(CCmdUI* pCmdUI);
afx_msg void OnRpCppfcount();
afx_msg void OnJsDudao();
afx_msg void OnRpWage();
afx_msg void OnRpWageCount();
afx_msg void OnViewSpdw();
afx_msg void OnRpMingxi();
afx_msg void OnRpLingshou();
//}}AFX_MSG
afx_msg void OnBarItemLbdown( WPARAM wParam, LPARAM lParam );
afx_msg void OnBarItemRbdown( WPARAM wParam, LPARAM lParam );
afx_msg void OnBaItemLbclick( WPARAM wParam, LPARAM lParam );
afx_msg void OnStatuButtonMsg( WPARAM wParam, LPARAM lParam );
afx_msg void OnViewActive( WPARAM wParam, LPARAM lParam );
afx_msg void OnViewClose( 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__10476F93_0AC4_45C3_8E83_91BA02DF2B81__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -