I've created a DateTimePicker with this code:
I've also called InitCommonControlsEx() with the ICC_DATE_CLASSES flag. It works fine in Windows XP, but the control isn't created at all in Windows 98.Code:void CreateControls(HWND hwnd) { HWND dtpTest = CreateWindowEx( 0, DATETIMEPICK_CLASS, NULL, WS_VISIBLE | WS_CHILD | DTS_UPDOWN, 8, 8, 100, 20, hwnd, NULL, hInst, NULL ); }
Am I overlooking something here?
Thanks,
Chris