共用方式為


CSliderCtrl::SetPageSize

Sets the size of the page for a slider control.

int SetPageSize(
   int nSize 
);

Parameters

  • nSize
    The new page size of the slider control.

Return Value

The previous page size.

Remarks

The page size affects how much the slider moves for the TB_PAGEUP and TB_PAGEDOWN notifications.

Requirements

Header: afxcmn.h

See Also

Reference

CSliderCtrl Class

Hierarchy Chart

CSliderCtrl::GetPageSize

CSliderCtrl::GetLineSize

Other Resources

CSliderCtrl Members