SSVGetBufferSize, SSVSetBufferSize Functions
Applies To
fpSpread DLL control
Description
Set or return the size of the virtual buffer when virtual mode is on.
Syntax
void SSVGetBufferSize(HWND hWnd, LPSS_COORD lpdBufferSize, LPSS_COORD lpdOverlap);
void SSVSetBufferSize(HWND hWnd, SS_COORD dBufferSize, SS_COORD dOverlap);
void TSpread::VGetBufferSize(LPSS_COORD lpdBufferSize, LPSS_COORD lpdOverlap);
void TSpread::VSetBufferSize(SS_COORD dBufferSize, SS_COORD dOverlap);
Parameters
The SSVGetBufferSize function has the following parameters:
Parameter | Description |
---|---|
hWnd | Window handle of the fpSpread control |
lpdBufferSize | Number of rows the sheet requests each time additional data is needed |
lpdOverlap | Number of rows of data the sheet should maintain as the overlap size (When the sheet needs additional rows of data, it will keep the number of rows returned by the lpdOverlap parameter in memory before requesting additional data.) |
The SSVSetBufferSize function has the following parameters:
Parameter | Description |
---|---|
hWnd | Window handle of the fpSpread control |
dBufferSize | Number of rows the sheet requests each time additional data is needed (Minimum value is one screen of data.) |
dOverlap | Number of rows of data the sheet should maintain as the overlap size (When the sheet needs additional rows of data, it will keep the number of rows specified by the dOverlap parameter in memory before requesting additional data. Minimum value is one screen of data.) |
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.
The buffer size determines the number of rows the sheet stores in memory. The overlap size specifies how many previously viewed rows are stored in memory.
See Also
SSSetSheet, SSVGetPhysBufferSize functions
ActiveX Correspondence
VirtualOverlap, VirtualRows properties