Spread 8.0 Documentation
SSVScrollGetSpecial, SSVScrollSetSpecial Functions
Support Options
DLL Reference > DLL Functions > SSVScrollGetSpecial, SSVScrollSetSpecial Functions

Glossary Item Box

SSVScrollGetSpecial, SSVScrollSetSpecial Functions


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Set or return whether the sheets use a special vertical scroll bar and the scroll arrows to display on that scroll bar.

Syntax

C

BOOL SSVScrollGetSpecial(HWND hWnd, LPWORD lpwOptions);

BOOL SSVScrollSetSpecial(HWND hWnd, BOOL fUseSpecialVScroll, WORD wOptions);

C++

BOOL TSpread::VScrollGetSpecial(LPWORD lpwOptions);

BOOL TSpread::VScrollSetSpecial(BOOL fUseSpecialVScroll, WORD wOptions);

Parameters

The SSVScrollGetSpecial function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpread control
lpwOptions Special scroll bar options
Can be any combination of the following values:
Constant Description
SS_VSCROLL_NOHOMEEND Does not display the home and end scroll arrows
SS_VSCROLL_NOPAGEUPDN Does not display the page up and page down scroll arrows
SS_VSCROLL_NOUPDN Does not display the line up and line down scroll arrows

The SSVScrollSetSpecial function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpread control
fUseSpecialVScroll Determines whether the control uses the special vertical scroll bar instead of the normal Windows scroll bar
wOptions Special scroll bar options
(Can be any combination of the values listed for the SSVScrollGetSpecial lpwOptions parameter.)

Remarks

This function is applied to the entire workbook, including all sheets in the control.

The special scroll bar is normally used in conjunction with virtual mode.

The special scroll bar appears the same size as the normal Windows scroll bar; however, it does not display a scroll box and additional scroll arrows have been added to the top and bottom. Use the SSVScrollSetSpecial wOptions parameter to determine which scroll arrows appear. The options are Up/Down, Page Up/Page Down, and Home/End scroll arrows. The special scroll bar can display any combination of these.

The user can also click the area between the arrows in the special vertical scroll bars to advance up or down a page at a time.

Return Value

SSVScrollGetSpecial: TRUE if the special scroll bar is being used; FALSE otherwise.
SSVScrollSetSpecial: TRUE if the special scroll bar was previously in use before this call; FALSE otherwise.

See Also

Displaying the Special Vertical Scroll Bar

SSVGetStyle, SSVSetStyle functions

ActiveX Correspondence

VScrollSpecial, VScrollSpecialType properties

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.