Not Monitored
Tag not monitored by Microsoft.
35,882 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
MFC VC++ in ‘CDateTimeCtrl’ issue is after selecting the date from the dropdown, if the date edited manually by user is not getting reflected, and it is changing to previously selected date.
Make sure you are handling the appropriate events for the CDateTimeCtrl
. The events you might want to look into are DTN_DATETIMECHANGE
and DTN_CLOSEUP
. The DTN_DATETIMECHANGE
event is fired whenever the user changes the date or time in the control.