📄 mainfrm.h
字号:
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__5157534D_C1E6_48D9_9E51_3736967C573F__INCLUDED_)
#define AFX_MAINFRM_H__5157534D_C1E6_48D9_9E51_3736967C573F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "GetWindowInfo.h"
#include "DynHelpViewBar.h"
#include "MdiClient.h"
#include "OXToolTipCtrl.h"
class CMainFrame : public CCJMDIFrameWnd
{
DECLARE_DYNAMIC(CMainFrame)
public:
CMainFrame();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
public:
CString m_csWinText;
CString m_cszhWnd;
CString m_cszATOM;
CString m_szWindowClassName;
CString m_szWindowCaption;
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
public: // control bar embedded members
CStatusBar m_wndStatusBar;
CCJToolBar m_wndToolBar;
CCJToolBar m_wndZoomBar;
//{ For childfrm
CCJTabCtrlBar m_wndWorkspace;
BYTE m_bWorkspace;
BYTE m_bChildTool;
CToolBar m_myToolBar;
int m_numDoc;
//}
CMdiClient m_wndMdiClient;
CDynHelpViewBar m_wndDynHelpView;
COXToolTipCtrl m_toolTip;
COLORREF m_clrBackground;
COLORREF m_clrText;
CFont m_font;
// Generated message map functions
protected:
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnHideorshow();
afx_msg void OnSwitch();
afx_msg void OnWndInfo();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnTabView();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CGetWindowInfo m_GetWinInfo;
int WriteAtomIndexFile(char szControlName[], long lAtom);
void TestUpMouseUp();
void GetCatchPoint(CPoint point);
bool IsInMouseDown(CPoint point);
bool m_bIsCatchMouseDown;
void TestEnterMouseDown(UINT nFlags, CPoint point);
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINFRM_H__5157534D_C1E6_48D9_9E51_3736967C573F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -