滑块工具条
More...
#include <SSliderBar.h>
|
| enum | { SC_RAIL
, SC_SELECT
, SC_THUMB
, SC_RAILBACK
} |
| |
|
| int | HitTest (CPoint pt) |
| | 测试点
|
| |
| void | ShowValueInTip (int nValue) |
| |
| LRESULT | NotifyPos (SliderBarAction action, int value) |
| | 通知
|
| |
| SIZE | GetDesiredSize (int nParentWid, int nParentHei) |
| | 获取大小
|
| |
| virtual void | OnColorize (COLORREF cr) |
| | 处理颜色化事件
|
| |
| virtual void | OnScaleChanged (int scale) |
| | 处理缩放变化事件
|
| |
| CRect | GetPartRect (UINT uSBCode) |
| |
| RANGE | _GetPartRange (int nLength, int nThumbSize, BOOL bThumbInRail, int nMin, int nMax, int nValue, UINT uSBCode) |
| |
| void | OnPaint (IRenderTarget *pRT) |
| | 绘制
|
| |
| void | OnLButtonUp (UINT nFlags, CPoint point) |
| | 左键抬起
|
| |
| void | OnLButtonDown (UINT nFlags, CPoint point) |
| | 左键按下
|
| |
| void | OnMouseMove (UINT nFlags, CPoint point) |
| | 鼠标移动
|
| |
| void | OnMouseLeave () |
| | 鼠标移动事件
|
| |
| virtual HRESULT | SetAttribute (const SNS::SStringW &amp;amp;amp;strAttribName, const SNS::SStringW &amp;amp;amp;strValue, BOOL bLoading=FALSE) |
| |
| void | GetDesiredSize (SIZE *psz, int wid, int hei) OVERRIDE |
| | 获取预期大小
|
| |
| void | OnPaint (IRenderTarget *pRT) |
| | 绘制控件
|
| |
| int | OnCreate (void *) |
| | 处理创建事件
|
| |
滑块工具条
Describe 滑块工具条
Definition at line 24 of file SSliderBar.h.
◆ anonymous enum
◆ SSliderBar()
| SSliderBar::SSliderBar |
( |
| ) |
|
◆ ~SSliderBar()
| SSliderBar::~SSliderBar |
( |
| ) |
|
◆ _GetPartRange()
| SSliderBar::RANGE SSliderBar::_GetPartRange |
( |
int | nLength, |
|
|
int | nThumbSize, |
|
|
BOOL | bThumbInRail, |
|
|
int | nMin, |
|
|
int | nMax, |
|
|
int | nValue, |
|
|
UINT | uSBCode ) |
|
protected |
◆ GetDesiredSize()
| SIZE SSliderBar::GetDesiredSize |
( |
int | nParentWid, |
|
|
int | nParentHei ) |
|
protected |
◆ GetPartRect()
| CRect SSliderBar::GetPartRect |
( |
UINT | uSBCode | ) |
|
|
protected |
◆ HitTest()
| int SSliderBar::HitTest |
( |
CPoint | pt | ) |
|
|
protected |
◆ NotifyPos()
| LRESULT SSliderBar::NotifyPos |
( |
SliderBarAction | action, |
|
|
int | value ) |
|
protected |
◆ OnColorize()
| void SSliderBar::OnColorize |
( |
COLORREF | cr | ) |
|
|
protectedvirtual |
◆ OnLButtonDown()
| void SSliderBar::OnLButtonDown |
( |
UINT | nFlags, |
|
|
CPoint | point ) |
|
protected |
◆ OnLButtonUp()
| void SSliderBar::OnLButtonUp |
( |
UINT | nFlags, |
|
|
CPoint | point ) |
|
protected |
◆ OnMouseLeave()
| void SSliderBar::OnMouseLeave |
( |
| ) |
|
|
protected |
◆ OnMouseMove()
| void SSliderBar::OnMouseMove |
( |
UINT | nFlags, |
|
|
CPoint | point ) |
|
protected |
◆ OnPaint()
◆ OnScaleChanged()
| void SSliderBar::OnScaleChanged |
( |
int | scale | ) |
|
|
protectedvirtual |
◆ SetAttribute()
| virtual HRESULT SSliderBar::SetAttribute |
( |
const SNS::SStringW &amp;amp;amp; | strAttribName, |
|
|
const SNS::SStringW &amp;amp;amp; | strValue, |
|
|
BOOL | bLoading = FALSE ) |
|
inlineprotectedvirtual |
◆ SetValue()
| BOOL SSliderBar::SetValue |
( |
int | nValue | ) |
|
◆ ShowValueInTip()
| void SSliderBar::ShowValueInTip |
( |
int | nValue | ) |
|
|
protected |
◆ m_bDrag
◆ m_bDragTip
| BOOL SSliderBar::m_bDragTip |
|
protected |
◆ m_bDrawRail
| BOOL SSliderBar::m_bDrawRail |
|
protected |
◆ m_bThumbInRail
| BOOL SSliderBar::m_bThumbInRail |
|
protected |
◆ m_nDragValue
| int SSliderBar::m_nDragValue |
|
protected |
◆ m_pSkinThumb
◆ m_ptDrag
| CPoint SSliderBar::m_ptDrag |
|
protected |
◆ m_uHtPrev
| int SSliderBar::m_uHtPrev |
|
protected |
The documentation for this class was generated from the following files: