DAS  3.1.6 - 18/09/2017
Data Fields
SBL_NEW_BLOCK Struct Reference

Data feed for Skip and Clip List objects. More...

#include <Mguidefs.h>

+ Collaboration diagram for SBL_NEW_BLOCK:

Data Fields

int from
 
int nc
 
int nr
 
long offset
 
XL_ITEMpi
 

Detailed Description

Data feed for Skip and Clip List objects.

This structure is passed to the NewBlock callback by the 'Clip' and 'Skip' List Objects when, due to user scrolling, the objects needs to query the application to supply new data items. The member 'nr' is also a return value of the callback in case of 'Skip' List Object. It specifies the number of rows actually returned. See MCreateSListSkip(), MCreateSListClip() and CmClippedSList for object creation details.

Definition at line 1254 of file Mguidefs.h.

Field Documentation

§ from

int SBL_NEW_BLOCK::from

This field is meaningful only in case of 'Skip' List. The Skip List object sets this value to tell the application where to retrieve items from. Possible values:

  • SEEK_SET (from the beginning)
  • SEEK_CUR (from current position)
  • SEEK_END (from the end of the list)

Definition at line 1263 of file Mguidefs.h.

§ nc

int SBL_NEW_BLOCK::nc

Item length

Definition at line 1267 of file Mguidefs.h.

§ nr

int SBL_NEW_BLOCK::nr

Number of rows (items) the application is asked to supply. If the nr of actually available items is smaller than the number requested by the object, then the application should set this field to the actual number of returned items.

Definition at line 1273 of file Mguidefs.h.

§ offset

long SBL_NEW_BLOCK::offset

Starting offset position relative to the location specified by 'from'

Definition at line 1265 of file Mguidefs.h.

§ pi

XL_ITEM* SBL_NEW_BLOCK::pi

Pointer to destination item list (where the application can store returned items)

Definition at line 1275 of file Mguidefs.h.


The documentation for this struct was generated from the following file:
______________________________________________________________________________________
Generated on Mon Sep 18 2017 11:47:18 for DAS - Rel. 3.1.6 - 18/09/2017.