?? cspin.h
字號:
#ifndef CSpin_h
#define CSpin_h 1
// afxcmn
#include "afxcmn.h"
// spinner that supports floats not just int.
class CSpin : public CSpinButtonCtrl
{
DECLARE_DYNAMIC(CSpin)
public:
// constructor
CSpin ();
// modifies the value in the control with steps*delta
void Change (int steps);
// the amount to change up and down.
void SetDelta (float x);
// responds to event.
void OnDeltaPos (NMHDR* pNMHDR, LRESULT* pResult);
protected:
//{{AFX_MSG(CSpin)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
float m_delta;
};
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -