PC Review


Reply
Thread Tools Rate Thread

Date Time Control

 
 
Kstoj
Guest
Posts: n/a
 
      10th Dec 2003

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.



 
Reply With Quote
 
 
 
 
Claes Bergefall
Guest
Posts: n/a
 
      10th Dec 2003
This has nothing to do with .NET framework
Try one of the mfc newsgroups

/claes

"Kstoj" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> 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.
>
>
>



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      10th Dec 2003
* "Kstoj" <(E-Mail Removed)> 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>
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Update a date/time control when check box control is updated BrianP Microsoft Access Forms 6 10th Apr 2008 06:04 PM
I am trying to use the Microsoft Date and Time Picker control and I am getting the following error "an error occured in a call to the windows date and time picker control" in access 2000 Ralph Malph Microsoft Access Forms 0 25th Oct 2004 08:00 PM
Time/Date Control Panel doesn't save time zone across boots Mark K Vallevand Windows XP Embedded 20 6th Nov 2003 10:47 PM
Problem with Date & Time Picker control in a Tab Control form Mystery Microsoft Access Form Coding 0 2nd Aug 2003 12:43 PM
Problem with Date & Time Picker control in a Tab Control form Mystery Microsoft Access Forms 0 2nd Aug 2003 12:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:30 AM.