Spread 8.0 Documentation
SpvGetScrollIncV, SpvSetScrollIncV Functions
Support Options
DLL Reference > DLL Functions > SpvGetScrollIncV, SpvSetScrollIncV Functions

Glossary Item Box

SpvGetScrollIncV, SpvSetScrollIncV Functions


See Also    ActiveX

Applies To

fpSpreadPreview DLL control

Description

Set or return the vertical distance the control scrolls when the user scrolls through the displayed pages.

Syntax

C

int SpvGetScrollIncV(HWND hWnd, long FAR *lpValue);

int SpvSetScrollIncV(HWND hWnd, long value);

C++

long TPreview::GetScrollIncV(void);

int TPreview::SetScrollIncV(long value);

Parameters

The SpvGetScrollIncV function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpreadPreview control
lpValue Pointer to variable that receives the vertical distance the control scrolls

The SpvSetScrollIncV function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpreadPreview control
value The vertical distance the control scrolls

Remarks

The default value for the vertical increment is 360 twips. The measurement unit for the increment is twips.

The SpvSetScrollBarV function's value parameter must be set to SPV_SCROLLBAR_SHOW or SPV_SCROLLBAR_AUTO for the SpvSetScrollIncV function to have an effect.

To specify the horizontal distance the control scrolls, call the SpvSetScrollIncH function.

Return Value

SpvGetScrollIncV: For C users, 1 if the function completes successfully; 0 otherwise. For C++ users, the setting for the function.
SpvSetScrollIncV: 1 if the function completes successfully; 0 otherwise.

See Also

SpvSetScrollBarH, SpvSetScrollBarV, SpvSetScrollIncH functions

ActiveX Correspondence

ScrollIncV property

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