Spread 8.0 Documentation
Example
Support Options

Glossary Item Box

Example


The following example clips a 3× 3 block of cells out beginning with cell A1 and copies it into a new block beginning with cell E5.

{
HGLOBAL hText;
LPTSTR lpText;
hText = SSClipOut(hWnd, 1, 1, 3, 3);
lpText = (LPTSTR)GlobalLock(hText);
SSClipIn(hWnd, 5, 5, 7, 7, lpText, lstrlen(lpText));

GlobalUnlock(hText);
GlobalFree(hText);
}

Copyright © GrapeCity, inc. All rights reserved.