ZeeGrid Control Message

ZGM_SETREGJDATE


ZGM_SETREGJDATE

An application sends a ZGM_SETREGJDATE message to set the internal date register in the ZeeGrid to the date specified by the julian date in lParam.

ZGM_SETREGJDATE
wParam = 0;                          //not used; must be 0
lParam = (LPARAM)(int) iJulianDate;  //julian date

Parameters

iJulianDate
The value of lParam. The julian date where 1 = 'January 1, 1600' and 3068037 = 'December 31, 9999'. Values less than or equal to 0 are invalid julian dates.

Return Values

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

Copyright © 2002-2016 by David Hillard