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

Glossary Item Box

SSShowActiveCell Function


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Scrolls the sheet so the active cell is positioned as specified.

Syntax

C

BOOL SSShowActiveCell(HWND hWnd, short Position);

C++

BOOL TSpread::ShowActiveCell(short Position);

Parameters

The following parameters are available:

Parameter Description
hWnd Window handle of the fpSpread control
Position Position at which to set active cell in fpSpread control window
Use one of the following values:
Constant Description
SS_SHOW_BOTTOMCENTER Moves active cell to bottom center
SS_SHOW_BOTTOMLEFT Moves active cell to bottom left
SS_SHOW_BOTTOMRIGHT Moves active cell to bottom right
SS_SHOW_CENTER Centers active cell in middle of screen
SS_SHOW_CENTERLEFT Vertically centers active cell on left side of window
SS_SHOW_CENTERRIGHT Vertically centers active cell on right side of window
SS_SHOW_NEAREST Moves active cell to nearest border
SS_SHOW_TOPCENTER Moves active cell to upper center
SS_SHOW_TOPLEFT Moves active cell to upper left
SS_SHOW_TOPRIGHT Moves active 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

SSSetSheet, SSShowCell functions

ActiveX Correspondence

ShowCell method

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