Click here to Skip to main content
15,914,594 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionQuick change of class of custom control? Pin
ldsdbomber11-Jun-07 3:26
ldsdbomber11-Jun-07 3:26 
AnswerRe: Quick change of class of custom control? Pin
ldsdbomber11-Jun-07 3:29
ldsdbomber11-Jun-07 3:29 
QuestionHow to detect modal loops in MFC Pin
Jörgen Sigvardsson11-Jun-07 3:21
Jörgen Sigvardsson11-Jun-07 3:21 
QuestionIOCP supports [modified] Pin
Jhony george11-Jun-07 3:05
Jhony george11-Jun-07 3:05 
AnswerRe: IOCP supports Pin
Matthew Faithfull11-Jun-07 3:28
Matthew Faithfull11-Jun-07 3:28 
GeneralRe: IOCP supports Pin
Jhony george11-Jun-07 19:40
Jhony george11-Jun-07 19:40 
QuestionConvert SYSTEMTIME to char * Pin
Programm3r11-Jun-07 2:45
Programm3r11-Jun-07 2:45 
AnswerRe: Convert SYSTEMTIME to char * Pin
Nibu babu thomas11-Jun-07 2:57
Nibu babu thomas11-Jun-07 2:57 
Programm3r wrote:
How does one convert SYSTEMTIME to char *


Use <code>COleDateTime.

SYSTEMTIME sysTime = { 0 };
GetLocalTime( &sysTime );
COleDateTime odtDtTime( sysTime );

// To String
CString csTime = odtDtTime.<code>Format</code>(_T("%A, %B %d, %Y"));



Nibu thomas
A Developer

Code must be written to be read, not by the compiler, but by another human being.

http:\\nibuthomas.wordpress.com

GeneralRe: Convert SYSTEMTIME to char * Pin
Programm3r11-Jun-07 3:23
Programm3r11-Jun-07 3:23 
AnswerRe: Convert SYSTEMTIME to char * Pin
David Crow11-Jun-07 3:11
David Crow11-Jun-07 3:11 
GeneralRe: Convert SYSTEMTIME to char * Pin
Programm3r11-Jun-07 3:22
Programm3r11-Jun-07 3:22 
QuestionRe: Convert SYSTEMTIME to char * Pin
Programm3r11-Jun-07 3:29
Programm3r11-Jun-07 3:29 
AnswerRe: Convert SYSTEMTIME to char * Pin
David Crow11-Jun-07 3:36
David Crow11-Jun-07 3:36 
AnswerRe: Convert SYSTEMTIME to char * Pin
Programm3r11-Jun-07 3:41
Programm3r11-Jun-07 3:41 
QuestionRe: Convert SYSTEMTIME to char * Pin
David Crow11-Jun-07 3:52
David Crow11-Jun-07 3:52 
GeneralRe: Convert SYSTEMTIME to char * Pin
Programm3r11-Jun-07 4:03
Programm3r11-Jun-07 4:03 
GeneralRe: Convert SYSTEMTIME to char * Pin
David Crow11-Jun-07 4:13
David Crow11-Jun-07 4:13 
AnswerRe: Convert SYSTEMTIME to char * Pin
Michael Dunn11-Jun-07 15:07
sitebuilderMichael Dunn11-Jun-07 15:07 
AnswerRe: Convert SYSTEMTIME to char * Pin
ThatsAlok11-Jun-07 20:05
ThatsAlok11-Jun-07 20:05 
QuestionOwner Draw button changes the tab order Pin
BlrBoy11-Jun-07 2:38
BlrBoy11-Jun-07 2:38 
AnswerRe: Owner Draw button changes the tab order Pin
kvrnkiran11-Jun-07 19:32
kvrnkiran11-Jun-07 19:32 
QuestionAdding Ribbon/Buttons in Word 2007 Pin
klarz11-Jun-07 2:22
klarz11-Jun-07 2:22 
QuestionAttaching popup menu to an existing menu Pin
prithaa11-Jun-07 2:04
prithaa11-Jun-07 2:04 
AnswerRe: Attaching popup menu to an existing menu Pin
kvrnkiran11-Jun-07 19:28
kvrnkiran11-Jun-07 19:28 
AnswerRe: Attaching popup menu to an existing menu Pin
ThatsAlok11-Jun-07 20:06
ThatsAlok11-Jun-07 20:06 

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.