Vertical Scroll Bar Controls


Vertical scroll bars are used for scaled value selections. Vertical scroll bars should not be confused with scroll bars that can be created with optional flags on windows, child windows, and multi-line edit controls.

Creating

Mnemonic

Description

'VSCROLL'

Create a Vertical Scroll Bar Control.

Manipulating

Mnemonic

Description

'SCROLLPOS'

Set Scroll Bar Position.

'SCROLLPROP'

Set Scroll Bar Proportion.

'SCROLLRANGE'

Set Scroll Bar Range.

Querying

CTRL() Function

Information Returned

0

Outer rectangle of the control in current scaled units.

2

2-byte integer containing the location and value of the thumb position.

8

Visible/invisible and enabled/disabled status of the control.

15

Background color of the control.

16

Foreground color of the control.