📄 spinnerdlg.h
字号:
#if !defined(AFX_SPINNERDLG_H__54A7E67E_7621_11D4_85D2_6491A2000000__INCLUDED_)
#define AFX_SPINNERDLG_H__54A7E67E_7621_11D4_85D2_6491A2000000__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SpinnerDlg.h : header file
//
#include "StaticEx.h"
#include "ProgressBar.h"
/////////////////////////////////////////////////////////////////////////////
// CSpinnerDlg dialog
class CSpinnerDlg : public CPropertyPage
{
DECLARE_DYNCREATE(CSpinnerDlg)
// Construction
public:
CSpinnerDlg();
~CSpinnerDlg();
// Dialog Data
//{{AFX_DATA(CSpinnerDlg)
enum { IDD = IDD_PROPPAGE_SPINNERDLG };
CProgressBar m_SoloBlueBar;
CProgressBar m_SoloGreenBar;
CProgressBar m_SoloRedBar;
CSpinButtonCtrl m_SoloRedSpinner;
CSpinButtonCtrl m_SoloGreenSpinner;
CSpinButtonCtrl m_SoloBlueSpinner;
CStaticEx m_ctlShowColors;
CButton m_btnSetRange;
CEdit m_BuddyEdit;
CSpinButtonCtrl m_ctlBuddySpinner;
BOOL m_bBuddyWrap;
BOOL m_bBuddyInteger;
BOOL m_bBuddyThousands;
int m_nBuddyUpper;
int m_nBuddyLower;
int m_nBuddyOrientation;
int m_nBuddyAccelerate;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CSpinnerDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void RecreateBuddy();
DWORD m_dwBuddyStyle;
// Generated message map functions
//{{AFX_MSG(CSpinnerDlg)
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
virtual BOOL OnInitDialog();
afx_msg void OnBuddySetinteger();
afx_msg void OnBuddyThousands();
afx_msg void OnBuddyWrap();
afx_msg void OnBuddySetrange();
afx_msg void OnChangeBuddyRange();
afx_msg void OnBuddyOrientation();
afx_msg void OnBuddyAccelerate();
afx_msg void OnDeltaposSoloRedspinner(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDeltaposSoloGreenspinner(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDeltaposSoloBluespinner(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SPINNERDLG_H__54A7E67E_7621_11D4_85D2_6491A2000000__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -