3#include "GUISliderStyled.h"
9 class FL_EXPORT CGUISlider :
public CGUISliderStyled
13 virtual ~CGUISlider();
27 CToolTipCtrl m_ToolTip;
28 Base::CFLString<wchar_t> m_strToolTipText;
31 virtual void OnPosChanged();
33 virtual BOOL Create(_In_ DWORD dwStyle, _In_
const RECT& rect, _In_ CWnd* pParentWnd, _In_ UINT nID);
36 void SetRangeMin(_In_
int nMin, _In_ BOOL bRedraw = FALSE);
39 void SetRangeMax(_In_
int nMax, _In_ BOOL bRedraw = FALSE);
42 void SetRange(_In_
int nMin, _In_
int nMax, _In_ BOOL bRedraw = FALSE);
45 virtual void SetPos(_In_
int nPos);
48 int GetRangeMax()
const;
51 int GetRangeMin()
const;
54 void GetRange(
int& nMin,
int& nMax)
const;
62 void SetUnit(int32_t i32Unit, BOOL bRedraw = FALSE);
69 int32_t GetUnit()
const;
76 void SetValue(int32_t i32Value);
91 int32_t GetPosByValue(int32_t i32Value)
const;
99 int32_t GetValueByPos(int32_t i32Pos)
const;
101 void ShowTooltip(
bool bShow);
102 bool IsTooltipVisible()
const;
104 DECLARE_MESSAGE_MAP()
106 afx_msg
void OnPaint();
107 afx_msg
void OnLButtonDown(UINT nFlags, CPoint point);
108 afx_msg
void OnLButtonUp(UINT nFlags, CPoint point);
109 virtual BOOL PreTranslateMessage(MSG* pMsg);
110 afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
111 afx_msg
void OnNMReleasedcapture(NMHDR* pNMHDR, LRESULT* pResult);
112 afx_msg
void OnMouseMove(UINT nFlags, CPoint point);
113 void OnNeedText(NMHDR* pnmh, LRESULT* pResult);
114 afx_msg
void OnDestroy();
115 afx_msg BOOL OnMouseWheel(UINT nFlags,
short zDelta, CPoint pt);
@ SetRange
그래프 뷰의 표시 범위 지정