13#ifndef __SSLIDERBAR__H__
14#define __SSLIDERBAR__H__
58 STDMETHOD_(BOOL, SetValue)(THIS_
int nValue) OVERRIDE;
81 void ShowValueInTip(
int nValue);
90 LRESULT
NotifyPos(SliderBarAction action,
int value);
101 STDMETHOD_(SIZE,
GetDesiredSize)(THIS_
int nParentWid,
int nParentHei);
116 RANGE _GetPartRange(
int nLength,
int nThumbSize, BOOL bThumbInRail,
int nMin,
int nMax,
int nValue, UINT uSBCode);
Smart pointer class for managing COM-style reference-counted objects.
virtual void OnColorize(COLORREF cr)
处理颜色化事件
void OnPaint(IRenderTarget *pRT)
绘制控件
virtual void OnScaleChanged(int scale)
处理缩放变化事件
CRect GetPartRect(UINT uSBCode)
void OnMouseMove(UINT nFlags, CPoint point)
鼠标移动
void OnMouseLeave()
鼠标移动事件
SAutoRefPtr< ISkinObj > m_pSkinThumb
int HitTest(CPoint pt)
测试点
void OnPaint(IRenderTarget *pRT)
绘制
void OnLButtonUp(UINT nFlags, CPoint point)
左键抬起
LRESULT NotifyPos(SliderBarAction action, int value)
通知
SIZE GetDesiredSize(int nParentWid, int nParentHei)
获取大小
void OnLButtonDown(UINT nFlags, CPoint point)
左键按下
void OnMouseMove(UINT nFlags, CPoint pt)
Handles the mouse move event.
void OnMouseLeave()
Handles the mouse leave event.
void OnLButtonUp(UINT nFlags, CPoint pt)
Handles the left mouse button up event.
void OnLButtonDown(UINT nFlags, CPoint pt)
Handles the left mouse button down event.
Interface for rendering target objects.