DwtScrollBarGetSlider(3Dwt)
Name
DwtScrollBarGetSlider − Retrieves the current size and position parameters of the slider in the scroll bar widget.
Syntax
void DwtScrollBarGetSlider(widget, value_return, shown_return,
inc_return, pageinc_return)
Widget widget;
int *value_return;
int *shown_return;
int *inc_return;
int *pageinc_return;
Arguments
widgetSpecifies the scroll bar widget ID.
value_returnReturns the scroll bar’s top thumb (slider) position between the DwtNminValue and DwtNmaxValue attributes to the scroll bar widget.
shown_return
Returns the size of the slider as a value between zero and the absolute value of DwtNmaxValue minus DwtNminValue. The size of the slider varies, depending on how much of the slider scroll area it represents.
inc_returnReturns the amount of button increment and decrement.
pageinc_return
Returns the amount of page increment and decrement.
Description
The DwtScrollBarGetSlider function returns the currently displayed size/position values of the slider in the scroll bar widget. The scroll region is overlaid with a slider bar that is adjusted in size and position using the main scroll bar or set slider function attributes. The stepping arrows and the slider are the scroll activator objects providing the user interface syntax “feel.”
See Also
DwtScrollBarSetSlider (3Dwt)
Guide to the XUI Toolkit: C Language Binding
Guide to the XUI Toolkit Intrinsics: C Language Binding