ZeeGrid Control Message



An application sends a ZGM_SETCELLCDATE message to set the specified cell in the ZeeGrid to the date specified by the null-terminated string in lParam.

wParam = (WPARAM)(int) iCellIndex;   //Cell index
lParam = (LPARAM) lpszString;        //pointer to string representation of a date


The value of wParam. The index of the ZeeGrid cell.

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

If the string representation of the date specified in lParam can be deciphered into a valid date, the message will return the julian date of the specified string date.

Copyright © 2002-2016 by David Hillard