Click here to Skip to main content
15,867,686 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: reusable dialog code Pin
tnarb23-Mar-09 4:10
tnarb23-Mar-09 4:10 
GeneralRe: reusable dialog code Pin
Code-o-mat23-Mar-09 4:12
Code-o-mat23-Mar-09 4:12 
GeneralRe: reusable dialog code Pin
Yusuf23-Mar-09 7:49
Yusuf23-Mar-09 7:49 
GeneralRe: reusable dialog code Pin
Code-o-mat23-Mar-09 10:01
Code-o-mat23-Mar-09 10:01 
AnswerRe: reusable dialog code Pin
Alan Balkany23-Mar-09 4:03
Alan Balkany23-Mar-09 4:03 
AnswerRe: reusable dialog code Pin
Jonathan Davies23-Mar-09 4:03
Jonathan Davies23-Mar-09 4:03 
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 

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.