共用方式為


CSliderCtrl Members

Base Class Members

Construction

Attributes

Operations

Base Class Members

CObject Members

CCmdTarget Members

CWnd Members

Construction

Create

Creates a slider control and attaches it to a CSliderCtrl object.

CreatEx

Creates a slider control with the specified Windows extended styles and attaches it to a CSliderCtrl object.

CSliderCtrl

Constructs a CSliderCtrl object.

Attributes

GetBuddy

Retrieves the handle to a slider control buddy window at a given location.

GetChannelRect

Retrieves the size of the slider control's channel.

GetLineSize

Retrieves the line size of a slider control.

GetNumTics

Retrieves the number of tick marks in a slider control.

GetPageSize

Retrieves the page size of a slider control.

GetPos

Retrieves the current position of the slider.

GetRange

Retrieves the minimum and maximum positions for a slider.

GetRangeMax

Retrieves the maximum position for a slider.

GetRangeMin

Retrieves the minimum position for a slider.

GetSelection

Retrieves the range of the current selection.

GetThumbLength

Retrieves the length of the slider in the current trackbar control.

GetThumbRect

Retrieves the size of the slider control's thumb.

GetTic

Retrieves the position of the specified tick mark.

GetTicArray

Retrieves the array of tick mark positions for a slider control.

GetTicPos

Retrieves the position of the specified tick mark, in client coordinates.

GetToolTips

Retrieves the handle to the tooltip control assigned to the slider control, if any.

SetBuddy

Assigns a window as the buddy window for a slider control.

SetLineSize

Sets the line size of a slider control.

SetPageSize

Sets the page size of a slider control.

SetPos

Sets the current position of the slider.

SetRange

Sets the minimum and maximum positions for a slider.

SetRangeMax

Sets the maximum position for a slider.

SetRangeMin

Sets the minimum position for a slider.

SetSelection

Sets the range of the current selection.

SetThumbLength

Sets the length of the slider in the current trackbar control.

SetTic

Sets the position of the specified tick mark.

SetTicFreq

Sets the frequency of tick marks per slider control increment.

SetTipSide

Positions a tooltip control used by a trackbar control.

SetToolTips

Assigns a tooltip control to a slider control.

Operations

ClearSel

Clears the current selection in a slider control.

ClearTics

Removes the current tick marks from a slider control.

See Also

Reference

CSliderCtrl Class

Hierarchy Chart