📄 infoframe.h
字号:
#if !defined(AFX_INFOFRAME_H__9CF462B3_8082_11D2_929C_0080C8E7F1DB__INCLUDED_)
#define AFX_INFOFRAME_H__9CF462B3_8082_11D2_929C_0080C8E7F1DB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// InfoFrame.h : header file
//
#include "InfoView.h"
#include "Common/ToolBarEx.h"
#include "Common/FlatButton.h"
/////////////////////////////////////////////////////////////////////////////
// CInfoFrame frame
class CInfoFrame : public CFrameWnd
{
DECLARE_DYNCREATE(CInfoFrame)
public:
CInfoFrame(); // protected constructor used by dynamic creation
virtual ~CInfoFrame();
CInfoView m_wndView;
CToolBarEx m_wndToolBar;
CFlatButton m_wndSwitchButton;
BOOL m_bActive;
// Attributes
public:
// Operations
public:
void DoSwitch(BOOL bShow);
void UpdateWindowSize();
void OnOptionChanged();
BOOL m_bNeedToCenter;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CInfoFrame)
public:
virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
virtual void ActivateFrame(int nCmdShow = -1);
protected:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CInfoFrame)
afx_msg void OnClose();
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnSetFocus(CWnd* pOldWnd);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI);
afx_msg void OnExit();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_INFOFRAME_H__9CF462B3_8082_11D2_929C_0080C8E7F1DB__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -