ZeeGrid Control Message

ZGM_SETREGCDATE


ZGM_SETREGCDATE

An application sends a ZGM_SETREGCDATE message to set the internal date register in the ZeeGrid to the date specified by the null-terminated string in lParam.

ZGM_SETREGCDATE
wParam = 0;                     //not used; must be 0
lParam = (LPARAM) lpszString;   //pointer to string representation of a date

Parameters

lpszString
The value of lParam. A null-terminated string containing the text representation of a date. This text can be in many date formats. For example, the date 12/28/1958 could be represented in string form as '1958/12/28', '12/28/58', '12/28/1958', 'Dec 28, 1958', or 'December 28, 1958'

Valid dates range from 1/1/1600 to 12/31/9999.

Return Values

This message returns the julian date if valid, otherwise it returns 0.

Copyright © 2002-2016 by David Hillard