I'm trying to use the Date and Time Picker Conrol in Visual C++.
I am displaying and editing a combination Date Time field. I have set the format using
CString formatStr = _T("dd MM yyyy hh ':' mm"
;
start_datetime_control.SetFormat(formatStr);
The properties to on the control are Format: Short Date
and Allow Edit.
My Datetime string appears to be displaying correctly on screen.
However when I edit the datetime, on changing fields the
data is re-set to the last datetime picked using the drop down control.
I'm currently teaching myself C++. So this will
probably be a simple problem to resolve.
Thanks
MJ
I am displaying and editing a combination Date Time field. I have set the format using
CString formatStr = _T("dd MM yyyy hh ':' mm"
start_datetime_control.SetFormat(formatStr);
The properties to on the control are Format: Short Date
and Allow Edit.
My Datetime string appears to be displaying correctly on screen.
However when I edit the datetime, on changing fields the
data is re-set to the last datetime picked using the drop down control.
I'm currently teaching myself C++. So this will
probably be a simple problem to resolve.
Thanks
MJ