共用方式為


CSliderCtrl::SetLineSize

Sets the size of the line for a slider control.

int SetLineSize(
   int nSize 
);

Parameters

  • nSize
    The new line size of the slider control.

Return Value

The previous line size.

Remarks

The line size affects how much the slider moves for the TB_LINEUP and TB_LINEDOWN notifications.

Requirements

Header: afxcmn.h

See Also

Reference

CSliderCtrl Class

Hierarchy Chart

CSliderCtrl::GetLineSize

CSliderCtrl::SetPageSize

Other Resources

CSliderCtrl Members