Click here to Skip to main content
15,898,947 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiondates Pin
Neal beavis23-Mar-09 3:34
Neal beavis23-Mar-09 3:34 
AnswerRe: dates Pin
Iain Clarke, Warrior Programmer23-Mar-09 3:36
Iain Clarke, Warrior Programmer23-Mar-09 3:36 
In MFC:

To get two dates from controls on a dialog, look at: CDateTimeCtrl.

To work with date / times, use CTime.
To subtract them, you can use CTimeSpan also.

That should give you things to search for and learn from.

Iain.

In the process of moving to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!

AnswerRe: dates Pin
Cedric Moonen23-Mar-09 3:37
Cedric Moonen23-Mar-09 3:37 
GeneralRe: dates Pin
Neal beavis23-Mar-09 3:41
Neal beavis23-Mar-09 3:41 
GeneralRe: dates Pin
Cedric Moonen23-Mar-09 3:46
Cedric Moonen23-Mar-09 3:46 
GeneralRe: dates Pin
Neal beavis23-Mar-09 3:49
Neal beavis23-Mar-09 3:49 
GeneralRe: dates Pin
Cedric Moonen23-Mar-09 3:51
Cedric Moonen23-Mar-09 3:51 
GeneralRe: dates Pin
Neal beavis23-Mar-09 3:53
Neal beavis23-Mar-09 3:53 
GeneralRe: dates Pin
CPallini23-Mar-09 3:47
mveCPallini23-Mar-09 3:47 
AnswerRe: dates Pin
CPallini23-Mar-09 3:42
mveCPallini23-Mar-09 3:42 
GeneralRe: dates Pin
Neal beavis23-Mar-09 3:44
Neal beavis23-Mar-09 3:44 
GeneralRe: dates Pin
CPallini23-Mar-09 11:17
mveCPallini23-Mar-09 11:17 
QuestionRe: dates Pin
David Crow23-Mar-09 4:04
David Crow23-Mar-09 4:04 
AnswerRe: dates Pin
Neal beavis23-Mar-09 4:06
Neal beavis23-Mar-09 4:06 
GeneralRe: dates Pin
David Crow23-Mar-09 4:13
David Crow23-Mar-09 4:13 
AnswerRe: dates Pin
ky_rerun23-Mar-09 4:12
ky_rerun23-Mar-09 4:12 
QuestionHow to give a vista look to MDI mainframe in VC++ 6.0 .And how to use the PNG buttons.Ex: WMP in it Pin
pallaka23-Mar-09 3:18
pallaka23-Mar-09 3:18 
AnswerRe: How to give a vista look to MDI mainframe in VC++ 6.0 .And how to use the PNG buttons.Ex: WMP in it Pin
Iain Clarke, Warrior Programmer23-Mar-09 3:25
Iain Clarke, Warrior Programmer23-Mar-09 3:25 
QuestionHo do I Give a password to a password protected word file through my VC++ GUI ? Pin
salimhassan23-Mar-09 3:12
salimhassan23-Mar-09 3:12 
AnswerRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
Iain Clarke, Warrior Programmer23-Mar-09 3:34
Iain Clarke, Warrior Programmer23-Mar-09 3:34 
GeneralRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
salimhassan23-Mar-09 18:45
salimhassan23-Mar-09 18:45 
GeneralRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
Iain Clarke, Warrior Programmer23-Mar-09 22:50
Iain Clarke, Warrior Programmer23-Mar-09 22:50 
QuestionRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
salimhassan24-Mar-09 3:05
salimhassan24-Mar-09 3:05 
AnswerRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
Iain Clarke, Warrior Programmer24-Mar-09 3:08
Iain Clarke, Warrior Programmer24-Mar-09 3:08 
QuestionRe: Ho do I Give a password to a password protected word file through my VC++ GUI ? Pin
salimhassan24-Mar-09 4:25
salimhassan24-Mar-09 4:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.