50 lines
1.1 KiB
C++
50 lines
1.1 KiB
C++
#if !defined(AFX_MYSPIN_H__0532E03A_9516_4287_BBAB_27FBE1B32560__INCLUDED_)
|
|
#define AFX_MYSPIN_H__0532E03A_9516_4287_BBAB_27FBE1B32560__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// MySpin.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CMySpin window
|
|
|
|
class TELAPI CMySpin : public CSpinButtonCtrl
|
|
{
|
|
// Construction
|
|
public:
|
|
CMySpin(double nDelta);
|
|
|
|
// Attributes
|
|
public:
|
|
double m_nDelta;
|
|
BOOL m_bText;
|
|
// Operations
|
|
public:
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CMySpin)
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
public:
|
|
virtual ~CMySpin();
|
|
|
|
// Generated message map functions
|
|
protected:
|
|
//{{AFX_MSG(CMySpin)
|
|
afx_msg void OnDeltapos(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_MYSPIN_H__0532E03A_9516_4287_BBAB_27FBE1B32560__INCLUDED_)
|