SSShowCell Function
Applies To
fpSpread DLL control
Description
Scrolls the sheet so that an individual cell is positioned as specified.
Syntax
C
BOOL SSShowCell(HWND hWnd, SS_COORD Col, SS_COORD Row, short Position);
C++
BOOL TSpread::ShowCell(SS_COORD Col, SS_COORD Row, short Position);
Parameters
The following parameters are available:
Parameter | Description | |
---|---|---|
hWnd | Window handle of the fpSpread control | |
Col | Column number of cell | |
Row | Row number of cell | |
Position | Position at which to set specified cell in fpSpread control window Use one of the following values: |
|
Constant | Description | |
SS_SHOW_BOTTOMCENTER | Moves cell to bottom center | |
SS_SHOW_BOTTOMLEFT | Moves cell to bottom left | |
SS_SHOW_BOTTOMRIGHT | Moves cell to bottom right | |
SS_SHOW_CENTER | Centers cell in middle of screen | |
SS_SHOW_CENTERLEFT | Vertically centers cell on left side of window | |
SS_SHOW_CENTERRIGHT | Vertically centers cell on right side of window | |
SS_SHOW_NEAREST | Moves cell to nearest border | |
SS_SHOW_TOPCENTER | Moves cell to upper center | |
SS_SHOW_TOPLEFT | Moves cell to upper left | |
SS_SHOW_TOPRIGHT | Moves cell to upper right |
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 function completes successfully; FALSE otherwise.
See Also
Designating the Leftmost Column to Display
Designating the Top Row to Display
SSSetSheet, SSShowActiveCell functions
ActiveX Correspondence
LeftCol, TopRow properties
ShowCell method