You can initialize the control "1900-01-01 00:00:00" AS "MinDate".
In .NET Framework, Datatime use "0000-00-00 00:00:00" is MinDate
<.NET>
A date and time expressed in the number of 100-nanosecond intervals that have
elapsed since January 1, 0001 at 00:00:00.000 in the Gregorian calendar.
<WIN32>
SYSTEMTIME
wYear : The year. The valid values for this member are 1601 through 30827.
But, in my case I cannot set the year under 1752.
So, You can define MinDate then check the value.
SYSTEMTIME oSysTime;
HWND hWndDtp = NULL;
RtlZeroMemory(&oSysTime, sizeof(SYSTEMTIME));
oSysTime.wYear = 1900;
oSysTime.wMonth = 1;
oSysTime.wDay = 1;
hWndDtp = GetDlgItem(hDlg, IDC_DATETIMEPICKER1);
DateTime_SetSystemtime(hWndDtp, GDT_VALID, &oSysTime);
