📄 framebottom.h
字号:
#if !defined(AFX_FRAMEBOTTOM_H__DD42003F_F31E_4EF8_B300_DA40A2B132B0__INCLUDED_)#define AFX_FRAMEBOTTOM_H__DD42003F_F31E_4EF8_B300_DA40A2B132B0__INCLUDED_#if _MSC_VER > 1000#pragma once#endif // _MSC_VER > 1000// FrameBottom.h : header file///////////////////////////////////////////////////////////////////////////////// RxFrameBottom window#include "FrameWnd.h"#define FBSB_CHANGED 0x0001typedef struct{ NMHDR hdr; int nCurSeries; // current Series index} NMFB_SERIES_BUTTON;class RxBitmapStatic;class RxBitmapButton;class RxPresetWindowing;#include "EditInt.h"class RxFrameBottom : public RxFrameWnd{// Constructionpublic: RxFrameBottom();// Attributespublic: CFont m_Font; RxBitmapStatic *m_pStcLogo; RxBitmapStatic *m_pStcWindowing; RxBitmapStatic *m_pStcZoom; RxBitmapStatic *m_pStcSeries; RxEditInt *m_pEdWindowingWidth; RxEditInt *m_pEdWindowingLevel; RxEditInt *m_pEdZoom; CSpinButtonCtrl *m_pSBCWindowingWidth; CSpinButtonCtrl *m_pSBCWindowingLevel; CComboBox *m_pCBPresetWindowing; RxPresetWindowing *m_pPresetWindowing; int m_nRadioSeries; RxBitmapButton *m_pBtnReference; RxBitmapButton *m_pBtnFloat; RxBitmapButton *m_pBtnCombine; RxBitmapButton *m_pBtnFineTuning; RxBitmapButton *m_pBtnOptions; RxBitmapButton *m_pBtnHelp;// Operationspublic: void RecalcLayout(); void InitWindowingComboBox (); void UpdateWindowingByPreset (int iIndex, BOOL bWithComboBox = TRUE); void UpdateWindowing (BOOL bUpdateEdit); void EnableWindowing (int nSeries, BOOL bEnable); void SetWindowing (int nSeries, int nLevel, int nWidth); void SetWindowingLevel (int nSeries, int nLevel); void SetWindowingWidth (int nSeries, int nWidth); void GetWindowing (int nSeries, int &nLevel, int &nWidth); BYTE* GetWindowingTable (int nSeries); void SetZoomFactor (int nFactor); int GetZoomFactor (); void SetRadioSeries (int nIndex); int GetRadioSeries (); void SetCheckTuning (BOOL bCheck); void SetCheckHelp (BOOL bCheck); void ShowOption (BOOL bShow);// Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(RxFrameBottom) protected: virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult); //}}AFX_VIRTUAL// Implementationpublic: virtual ~RxFrameBottom(); virtual void OnSwitchToMainMenu(BOOL bActive, int nOldMainMenuID, int nCurMainMenuID); // Generated message map functionsprotected: //{{AFX_MSG(RxFrameBottom) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnDestroy(); afx_msg void OnPaint(); //}}AFX_MSG afx_msg void OnInitialUpdate(); afx_msg void OnDeltaposSpinOpacity(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnEditChanged(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnPresetWindowingHotChanged(UINT nID); afx_msg void OnPresetWindowingCBDropDown(); afx_msg void OnPresetWindowingCBChanged(); afx_msg void OnRadioSeries(UINT nID); afx_msg void OnBtnTuning(); afx_msg void OnBtnOptions(); afx_msg void OnBtnHelp(); DECLARE_MESSAGE_MAP()};///////////////////////////////////////////////////////////////////////////////{{AFX_INSERT_LOCATION}}// Microsoft Visual C++ will insert additional declarations immediately before the previous line.#endif // !defined(AFX_FRAMEBOTTOM_H__DD42003F_F31E_4EF8_B300_DA40A2B132B0__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -