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

Glossary Item Box

SSAddMultiSelBlocks Function


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Selects multiple blocks of cells.

Syntax

C

BOOL SSAddMultiSelBlocks(HWND hWnd, LPSS_SELBLOCK lpSelBlock);

C++

BOOL TSpread::AddMultiSelBlocks(LPSS_SELBLOCK lpSelBlock);

Parameters

This function has the following parameters:

Parameter Description
hWnd Window handle of the fpSpread control
lpSelBlock Pointer to block of cells to select

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.

Call the SSSetBool function and set the value for the SSB_ALLOWMULTIBLOCKS boolean to True to let the user select multiple blocks of cells. Use this function to add additional blocks of selected cells. The additional blocks can be contiguous with, overlap, or be separate from existing selected blocks.

This function has an effect only when the sheet is in normal operation mode. Specify the sheet's operation mode by calling the SSSetOperationMode function.

Return Value

TRUE if the function completes successfully; FALSE otherwise.

See Also

Selecting Multiple Blocks of Cells

SSGetOperationMode, SSSetBool, SSSetOperationMode, SSSetSheet functions

ActiveX Correspondence

AddSelection, SetSelection methods

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