I need to use the SetFormat() function in the constructer of an overridden version of the CDateTimeCtrl, but I need to know in advance if it's a Date control or a Time control before passing to it a format string.
For clarity, when you click on the date time picker in the form editor and go to the properties for it, I want to be able to retrieve the information under the property "Format".
Sometimes I wish MFC was as nice as C# and VB where all the properties have mutators and accessors. Or at least seem to.