Click here to Skip to main content
15,899,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: File creation date and time Pin
trotwa12-Oct-10 21:27
trotwa12-Oct-10 21:27 
GeneralRe: File creation date and time Pin
Richard MacCutchan12-Oct-10 22:39
mveRichard MacCutchan12-Oct-10 22:39 
AnswerRe: File creation date and time Pin
CPallini12-Oct-10 21:30
mveCPallini12-Oct-10 21:30 
GeneralRe: File creation date and time Pin
bleedingfingers12-Oct-10 21:55
bleedingfingers12-Oct-10 21:55 
GeneralRe: File creation date and time Pin
CPallini12-Oct-10 22:01
mveCPallini12-Oct-10 22:01 
AnswerRe: File creation date and time Pin
Sauro Viti12-Oct-10 21:32
professionalSauro Viti12-Oct-10 21:32 
GeneralRe: File creation date and time Pin
john563212-Oct-10 23:23
john563212-Oct-10 23:23 
GeneralRe: File creation date and time Pin
Sauro Viti12-Oct-10 23:35
professionalSauro Viti12-Oct-10 23:35 
You can do it (at least) in two ways:


  1. Use the FileTimeToSystemTime Function (Windows)[^]: the SYSTEMTIME structure that you get has separate fields for day, month,year, etc. and you have only to use printf or sprintf with an appropriate format string
  2. Use the CTime Class (ATL/MFC)[^]: one of its constructors accept a reference to a FILETIME structure. Then use the CTime::Format (ATL/MFC)[^] method, that returns a CString formatted accordingly to the specified format string

QuestionHow to hide the RibbonButton???? [modified] Pin
kwanghee choi12-Oct-10 20:10
kwanghee choi12-Oct-10 20:10 
AnswerRe: How to hide the RibbonButton???? Pin
Code-o-mat13-Oct-10 5:02
Code-o-mat13-Oct-10 5:02 
Questionsscanf_s invalidating pointers. Need help Pin
Hipcrostino12-Oct-10 20:03
Hipcrostino12-Oct-10 20:03 
AnswerRe: sscanf_s invalidating pointers. Need help Pin
Cedric Moonen12-Oct-10 20:22
Cedric Moonen12-Oct-10 20:22 
GeneralRe: sscanf_s invalidating pointers. Need help Pin
Hipcrostino12-Oct-10 20:32
Hipcrostino12-Oct-10 20:32 
GeneralRe: sscanf_s invalidating pointers. Need help Pin
Cedric Moonen12-Oct-10 20:49
Cedric Moonen12-Oct-10 20:49 
GeneralRe: sscanf_s invalidating pointers. Need help Pin
Hipcrostino13-Oct-10 12:43
Hipcrostino13-Oct-10 12:43 
QuestionHow to pass generic pointer to function with void** parameter? Pin
Chesnokov Yuriy12-Oct-10 20:02
professionalChesnokov Yuriy12-Oct-10 20:02 
AnswerRe: How to pass generic pointer to function with void** parameter? Pin
CPallini12-Oct-10 21:00
mveCPallini12-Oct-10 21:00 
QuestionRe: How to pass generic pointer to function with void** parameter? Pin
Chesnokov Yuriy12-Oct-10 21:16
professionalChesnokov Yuriy12-Oct-10 21:16 
AnswerRe: How to pass generic pointer to function with void** parameter? PinPopular
CPallini12-Oct-10 21:26
mveCPallini12-Oct-10 21:26 
AnswerRe: How to pass generic pointer to function with void** parameter? Pin
Chesnokov Yuriy12-Oct-10 21:42
professionalChesnokov Yuriy12-Oct-10 21:42 
QuestionTiff FIle in Frame Window Pin
002comp12-Oct-10 19:29
002comp12-Oct-10 19:29 
QuestionCan WM_VSCROLL generate WM_MOUSEMOVE messages? Pin
old_hacker12-Oct-10 19:00
old_hacker12-Oct-10 19:00 
AnswerRe: Can WM_VSCROLL generate WM_MOUSEMOVE messages? Pin
mesajflaviu12-Oct-10 20:04
mesajflaviu12-Oct-10 20:04 
GeneralRe: Can WM_VSCROLL generate WM_MOUSEMOVE messages? Pin
old_hacker13-Oct-10 19:41
old_hacker13-Oct-10 19:41 
Questionhow to use code written in C# in Managed C++ (VC++.NET) Project? Pin
AmbiguousName12-Oct-10 9:04
AmbiguousName12-Oct-10 9:04 

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.