ZeeGrid Control Message

ZGM_INTERPRETDATES


ZGM_INTERPRETDATES

An application sends a ZGM_INTERPRETDATES message to enable or disable the interpretation of text as a date when entered from an editable cell by the user, or programmatically entered into the cell with the ZGM_SETCELLTEXT message.

ZGM_INTERPRETDATES
wParam = (WPARAM) (BOOL) fEnable;  //enable flag
lParam = 0;                        //not used; must be zero

Parameters

fEnable
Value of wParam. Specifies whether to enable or disable the interpretation of entered text as a date. If enabled and the text '12/28/58' is entered in a cell, ZeeGrid will display that cell as a date text string, for instance 'December 28, 1958', and right justify it in the cell. If disabled, the text will be displayed literally as '12/28/58'.

Return Values

This message does not return a value.

Remarks

Interpret dates is enabled by default.

Copyright © 2002-2016 by David Hillard