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

Glossary Item Box

SSGetTopLeftCell Function


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Returns the coordinates of the upper-left cell displayed in the scrollable portion of the fpSpread control.

Syntax

C

BOOL SSGetTopLeftCell(HWND hWnd, LPSS_COORD lpCol, LPSS_COORD lpRow);

C++

BOOL TSpread::GetTopLeftCell(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 column number of upper-left cell
lpRow Pointer to variable that receives row number of upper-left cell

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.

Cells in frozen columns and rows are not considered when calculating the upper-left cell returned by the SSGetTopLeftCell function.

Return Value

TRUE if the function completes successfully; FALSE otherwise.

See Also

SSGetBottomRightCell, SSGetTopLeftPrev, SSSetSheet functions

ActiveX Correspondence

LeftCol, TopRow properties

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