PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Date Time Control
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Framework Forms
Date Time Control
![]() |
Date Time Control |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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. |
|
|
|
#2 |
|
Guest
Posts: n/a
|
This has nothing to do with .NET framework
Try one of the mfc newsgroups /claes "Kstoj" <kriss.stoj@itron.com.removethis> wrote in message news:e2XN6vrvDHA.2368@TK2MSFTNGP09.phx.gbl... > > 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. > > > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
* "Kstoj" <kriss.stoj@itron.com.removethis> scripsit:
> 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? -- Herfried K. Wagner [MVP] <http://www.mvps.org/dotnet> |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

