Spread 8.0 Documentation
SSGetTopLeftPrev Function
Support Options
DLL Reference > DLL Functions > SSGetTopLeftPrev Function

Glossary Item Box

SSGetTopLeftPrev Function


See Also

Applies To

fpSpread DLL control

Description

Returns the previous top row and left column after the user scrolls the sheet.

Syntax

C

void SSGetTopLeftPrev(HWND hWnd, LPSS_COORD lpCol, LPSS_COORD lpRow);

C++

void TSpread::GetTopLeftPrev(LPSS_COORD lpCol, LPSS_COORD lpRow);

Parameters

The following parameters are available:

Parameter Description
hWnd Window handle of the fpSpread control
lpCol Pointer to variable that receives previous column number
lpRow Pointer to variable that receives previous row number

Remarks

This function is applied to the current sheet setting unless you first call the SSSetSheet function to specify the sheet for which you are calling this function.

Use this function with the SSN_TOPROWCHANGE, SSN_LEFTCOLCHANGE, and SSN_TOPLEFTCHANGE messages to determine the previous top row and left column before the sheet scrolled.

See Also

SSGetBottomRightCell, SSGetTopLeftCell, SSSetSheet functions

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