Click here to Skip to main content
15,913,722 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Current system date Pin
CodingLover23-Oct-07 0:59
CodingLover23-Oct-07 0:59 
GeneralRe: Current system date Pin
chandu00423-Oct-07 1:02
chandu00423-Oct-07 1:02 
GeneralRe: Current system date Pin
CodingLover23-Oct-07 1:17
CodingLover23-Oct-07 1:17 
GeneralRe: Current system date Pin
chandu00423-Oct-07 1:26
chandu00423-Oct-07 1:26 
GeneralRe: Current system date Pin
ThatsAlok23-Oct-07 1:00
ThatsAlok23-Oct-07 1:00 
GeneralRe: Current system date Pin
CodingLover23-Oct-07 1:06
CodingLover23-Oct-07 1:06 
GeneralRe: Current system date Pin
ThatsAlok23-Oct-07 1:14
ThatsAlok23-Oct-07 1:14 
GeneralRe: Current system date Pin
David Crow23-Oct-07 3:07
David Crow23-Oct-07 3:07 
Sure you can, but why would you want to (use such an ugly statement)? Try this instead:

CTime time = CTime::GetCurrentTime();
AfxMessageBox(time.Format("%x"));



"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


QuestionReload the MFC UI with different resources during run-time? Pin
KnoenTCP22-Oct-07 23:52
KnoenTCP22-Oct-07 23:52 
AnswerRe: Reload the MFC UI with different resources during run-time? Pin
Naveen23-Oct-07 1:01
Naveen23-Oct-07 1:01 
GeneralRe: Reload the MFC UI with different resources during run-time? Pin
KnoenTCP23-Oct-07 2:47
KnoenTCP23-Oct-07 2:47 
AnswerRe: Reload the MFC UI with different resources during run-time? Pin
Mark Salsbery23-Oct-07 8:29
Mark Salsbery23-Oct-07 8:29 
GeneralRe: Reload the MFC UI with different resources during run-time? Pin
KnoenTCP23-Oct-07 21:12
KnoenTCP23-Oct-07 21:12 
GeneralRe: Reload the MFC UI with different resources during run-time? Pin
Mark Salsbery24-Oct-07 5:38
Mark Salsbery24-Oct-07 5:38 
Questionmessage localization Pin
George_George22-Oct-07 23:40
George_George22-Oct-07 23:40 
Questionpositioning problem Pin
john563222-Oct-07 23:30
john563222-Oct-07 23:30 
AnswerRe: positioning problem Pin
chandu00422-Oct-07 23:49
chandu00422-Oct-07 23:49 
GeneralRe: positioning problem Pin
john563223-Oct-07 0:16
john563223-Oct-07 0:16 
GeneralRe: positioning problem Pin
chandu00423-Oct-07 0:28
chandu00423-Oct-07 0:28 
GeneralRe: positioning problem Pin
john563223-Oct-07 0:33
john563223-Oct-07 0:33 
GeneralRe: positioning problem Pin
chandu00423-Oct-07 0:41
chandu00423-Oct-07 0:41 
GeneralRe: positioning problem Pin
john563223-Oct-07 0:45
john563223-Oct-07 0:45 
GeneralRe: positioning problem Pin
chandu00423-Oct-07 0:53
chandu00423-Oct-07 0:53 
QuestionRe: positioning problem Pin
David Crow23-Oct-07 3:15
David Crow23-Oct-07 3:15 
AnswerRe: positioning problem Pin
chandu00423-Oct-07 18:29
chandu00423-Oct-07 18:29 

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.