atoMerz
atoMerz

Reputation: 7672

MFC DateTime picker format changes when I open visual studio

I have a form in which I have placed a MFC DateTimePicker control. I set its format property to Time. Work with my app and everything is fine. But when I close visual studio and open it the next time, format has changed to its default value.
I noticed everything saves just fine, since if I build my solution using devenv.exe at command line the dialogs are displayed correctly. So it seems to me that whenever I open VS, it changes my setting.
How do I avoid this?

EDIT:

Upvotes: 1

Views: 983

Answers (1)

Santosh
Santosh

Reputation: 1815

congrats,

you are the 210th user of visual studio who found that bug but don't worry this will not show you from visual studio 2005 onward.

As per release note by Microsoft this issue came due to the,

behavior occurs because a problem exists in the Visual Studio .NET resource editor for Visual C++ projects.

For more information on this please seen following bug of visual studio resource editor.

FIX: The Format property of the DateTimePicker control reverts to Short Date in Visual Studio .NET 2003

Upvotes: 1

Related Questions