Horizontal Scroll Bar Controls


Horizontal scroll bar are used for scaled value selections. Horizontal 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

'HSCROLL'

Create a Horizontal 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.

4

Control class and type.

8

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