Click here to Skip to main content
15,895,283 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Load Bitmap from file to doc Pin
CPallini26-Aug-09 2:08
mveCPallini26-Aug-09 2:08 
GeneralRe: Load Bitmap from file to doc Pin
Amin.Abdi26-Aug-09 2:21
Amin.Abdi26-Aug-09 2:21 
GeneralRe: Load Bitmap from file to doc Pin
CPallini26-Aug-09 2:38
mveCPallini26-Aug-09 2:38 
GeneralRe: Load Bitmap from file to doc Pin
Amin.Abdi26-Aug-09 2:48
Amin.Abdi26-Aug-09 2:48 
GeneralRe: Load Bitmap from file to doc Pin
CPallini26-Aug-09 2:55
mveCPallini26-Aug-09 2:55 
QuestionDate and Time Pin
john563225-Aug-09 20:00
john563225-Aug-09 20:00 
AnswerRe: Date and Time Pin
Rajesh R Subramanian25-Aug-09 20:16
professionalRajesh R Subramanian25-Aug-09 20:16 
AnswerRe: Date and Time Pin
Cedric Moonen25-Aug-09 20:20
Cedric Moonen25-Aug-09 20:20 
Create a CTimeSpan[^] object with the correct number of days and substract it from your CTime object.

BTW, you don't need to make such a complex conversion to print the time in a string. Do yo know that CTime has a Format[^] function which is probably far easier to use than to convert to a tm structure first ?

Another point: is there a particular reason why you are using wide-char strings instead of unicode independant strings (TCHAR) ? You might want to read this article[^].

Cédric Moonen
Software developer

Charting control [v2.0]
OpenGL game tutorial in C++

QuestiondwDesiredAccess in CreateFile API Pin
Varghese Paul M25-Aug-09 18:47
Varghese Paul M25-Aug-09 18:47 
AnswerRe: dwDesiredAccess in CreateFile API Pin
Adam Roderick J25-Aug-09 19:45
Adam Roderick J25-Aug-09 19:45 
AnswerRe: dwDesiredAccess in CreateFile API Pin
Rajesh R Subramanian25-Aug-09 19:57
professionalRajesh R Subramanian25-Aug-09 19:57 
AnswerRe: dwDesiredAccess in CreateFile API Pin
Stuart Dootson25-Aug-09 21:06
professionalStuart Dootson25-Aug-09 21:06 
QuestionLNK1107 Pin
MozhdehQeraati25-Aug-09 18:39
MozhdehQeraati25-Aug-09 18:39 
AnswerRe: LNK1107 Pin
Code-o-mat25-Aug-09 20:45
Code-o-mat25-Aug-09 20:45 
GeneralRe: LNK1107 Pin
MozhdehQeraati25-Aug-09 21:31
MozhdehQeraati25-Aug-09 21:31 
AnswerRe: LNK1107 Pin
Stuart Dootson25-Aug-09 21:08
professionalStuart Dootson25-Aug-09 21:08 
GeneralRe: LNK1107 Pin
MozhdehQeraati25-Aug-09 21:32
MozhdehQeraati25-Aug-09 21:32 
GeneralRe: LNK1107 Pin
Stuart Dootson25-Aug-09 22:08
professionalStuart Dootson25-Aug-09 22:08 
QuestionOnSize [modified] Pin
zhenek9125-Aug-09 17:06
zhenek9125-Aug-09 17:06 
AnswerRe: OnSize Pin
Code-o-mat25-Aug-09 20:28
Code-o-mat25-Aug-09 20:28 
AnswerRe: OnSize Pin
Cedric Moonen25-Aug-09 20:32
Cedric Moonen25-Aug-09 20:32 
GeneralRe: OnSize [modified] Pin
zhenek9125-Aug-09 20:39
zhenek9125-Aug-09 20:39 
QuestionAdding Checkboxes to a list control in every column Pin
Member 470944425-Aug-09 13:00
Member 470944425-Aug-09 13:00 
AnswerRe: Adding Checkboxes to a list control in every column Pin
Code-o-mat25-Aug-09 20:34
Code-o-mat25-Aug-09 20:34 
AnswerRe: Adding Checkboxes to a list control in every column Pin
David Crow26-Aug-09 3:09
David Crow26-Aug-09 3:09 

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.