How to check a DateTimeCtrl field is dirty or not in MFC
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
Hi, I am new to MFC. Can anybody tell me how to check the CDateTimeCtrl is dirty or not Thanks in advance
-
Hi, I am new to MFC. Can anybody tell me how to check the CDateTimeCtrl is dirty or not Thanks in advance
Call its
GetTime()
method to get the currently selected date/time from the control. Then useCOleDateTime::GetStatus()
to check the validity."One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles