3#include "GUISliderStyled.h"
9 class FL_EXPORT CGUISlider :
public CGUISliderStyled
13 virtual ~CGUISlider();
24 CToolTipCtrl m_ToolTip;
25 Base::CFLString<wchar_t> m_strToolTipText;
28 virtual void OnPosChanged();
30 virtual BOOL Create(_In_ DWORD dwStyle, _In_
const RECT& rect, _In_ CWnd* pParentWnd, _In_ UINT nID);
33 void SetRangeMin(_In_
int nMin, _In_ BOOL bRedraw = FALSE);
36 void SetRangeMax(_In_
int nMax, _In_ BOOL bRedraw = FALSE);
39 void SetRange(_In_
int nMin, _In_
int nMax, _In_ BOOL bRedraw = FALSE);
42 virtual void SetPos(_In_
int nPos);
45 int GetRangeMax()
const;
48 int GetRangeMin()
const;
51 void GetRange(
int& nMin,
int& nMax)
const;
59 void SetUnit(int32_t i32Unit, BOOL bRedraw = FALSE);
66 int32_t GetUnit()
const;
73 void SetValue(int32_t i32Value);
88 int32_t GetPosByValue(int32_t i32Value)
const;
96 int32_t GetValueByPos(int32_t i32Pos)
const;
98 void ShowTooltip(
bool bShow);
99 bool IsTooltipVisible()
const;
101 DECLARE_MESSAGE_MAP()
103 afx_msg
void OnPaint();
104 afx_msg
void OnLButtonDown(UINT nFlags, CPoint point);
105 afx_msg
void OnLButtonUp(UINT nFlags, CPoint point);
106 virtual BOOL PreTranslateMessage(MSG* pMsg);
107 afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
108 afx_msg
void OnNMReleasedcapture(NMHDR* pNMHDR, LRESULT* pResult);
109 afx_msg
void OnMouseMove(UINT nFlags, CPoint point);
110 void OnNeedText(NMHDR* pnmh, LRESULT* pResult);
111 afx_msg
void OnDestroy();
112 afx_msg BOOL OnMouseWheel(UINT nFlags,
short zDelta, CPoint pt);
Definition D2DObject.h:12
@ SetRange
Set range.
Definition DefinitionsGUIViewGraph.h:1328