Example
The following example retrieves the currently selected blocks of cells.
{
HGLOBAL hSelBlockList;
LPSS_SELBLOCK lpSelBlockList;
SHORT dSelBlockCnt;
if (hSelBlockList = SSGetMultiSelBlocks(hWnd, &dSelBlockCnt))
{
lpSelBlockList = (LPSS_SELBLOCK)GlobalLock(hSelBlockList);
.
.
.
GlobalUnlock(hSelBlockList);
GlobalFree(hSelBlockList);
}
}
See Also
SSGetOperationMode, SSGetSelectBlock, SSSetBool, SSSetOperationMode, SSSetSelectBlock, SSSetSheet functions
ActiveX Correspondence
SSGetMultiSelBlocks: GetSelection method
SSSetMultiSelBlocks: AddSelection, SetSelection methods