Spread 8.0 Documentation
DLL
Support Options

Glossary Item Box

DLL


To create and set up a date cell

  1. Call the SSSetTypeDate function and set the parameters as follows:
    1. Set the lpMax parameter to point to the SS_DATE structure, which contains the maximum date for the cell.
    2. Set the lpMin parameter to point to the SS_DATE structure, which contains the minimum date for the cell.
    3. Use the lStyle parameter to specify the text alignment and orientation.
  2. Specify how the century is calculated by calling the SSSetTwoDigitYearMax function and setting the nTwoDigitYearMax parameter to the calculation date.
  3. Call the SSSetCellType or SSSetCellTypeRange function and set the CellType parameter to SS_TYPE_DATE.
© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.