Date Time Control

  • Thread starter Thread starter Kstoj
  • Start date Start date
K

Kstoj

I'm creating the Date Time Picker control using the CreateWindowEx function.
Once I have a window handle is there a way to extract the CDateTimeCtrl
control object out of it.
This would be needed to further manipulate the Date Time values.
I know I can directly create the object using the CDateTimeCtrl control
class but I would like to know
if I can somehow extract it from the window.
 
* "Kstoj said:
I'm creating the Date Time Picker control using the CreateWindowEx function.
Once I have a window handle is there a way to extract the CDateTimeCtrl
control object out of it.
This would be needed to further manipulate the Date Time values.
I know I can directly create the object using the CDateTimeCtrl control
class but I would like to know
if I can somehow extract it from the window.

Why not use .NET's 'DateTimePicker' class?
 
Back
Top