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

Glossary Item Box

SSGetCellRect Function


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Returns the rectangle coordinates of a cell relative to the upper-left corner of the control.

Syntax

C

BOOL SSGetCellRect(HWND hWnd, SS_COORD Col, SS_COORD Row, LPRECT lpRect);

C++

BOOL TSpread::GetCellRect(SS_COORD Col, SS_COORD Row, LPRECT lpRect);

Parameters

The following parameters are available:

Parameter Description
hWnd Window handle of the fpSpread control
Col Column number of cell for which to return rectangle coordinates
(Value can be SS_HEADER or SS_ALLCOLS.)
Row Row number of cell for which to return rectangle coordinates
(Value can be SS_HEADER or SS_ALLROWS.)
lpRect Pointer to variable that receives rectangle coordinates

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.

Return Value

TRUE if the cell is currently visible on the screen; FALSE otherwise.

See Also

SSSetSheet function

ActiveX Correspondence

GetCellPos method

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