Google Answers Logo
View Question
 
Q: How to set Calendar in a C++ program? ( No Answer,   3 Comments )
Question  
Subject: How to set Calendar in a C++ program?
Category: Computers
Asked by: joeval-ga
List Price: $2.00
Posted: 22 Feb 2003 20:44 PST
Expires: 24 Mar 2003 20:44 PST
Question ID: 165842
Write a C++ program which includes calendar such as Month, year, event
that happened that year.  It could be BC or AD
Answer  
There is no answer at this time.

Comments  
Subject: Re: How to set Calendar in a C++ program?
From: ethernet76-ga on 22 Feb 2003 22:32 PST
 
mfc or dos based?
Subject: Re: How to set Calendar in a C++ program?
From: joeval-ga on 23 Feb 2003 12:08 PST
 
Visual C++
Subject: Re: How to set Calendar in a C++ program?
From: cplusplusgenius-ga on 25 Feb 2003 10:00 PST
 
It's very simple.
If you are working with Vc++ 5 or 6  you can create a dialog window
and  then from the Controls Menù select the control:
"Month Calendar" or "Date Time Picker".
Insert it in the window in the place you want.
Then click (right) on the control:
Select ClassWizard and from the "member variable" section select the
id from the window and push "Add Variable".
From the new window select then Category -> Control and give the
control a name (es. m_Date).
Now you can control you calendar from your program simply using the
methods of the CDateTimeCtrl class. You can take a  look on MSDN help
for VC.

Hi.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy