Click here to Skip to main content
15,887,676 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Using GetSystemTime in WM_KEYDOWN Pin
«_Superman_»15-Feb-09 17:21
professional«_Superman_»15-Feb-09 17:21 
GeneralRe: Using GetSystemTime in WM_KEYDOWN Pin
EvScott16-Feb-09 0:49
EvScott16-Feb-09 0:49 
AnswerRe: Using GetSystemTime in WM_KEYDOWN Pin
CPallini16-Feb-09 0:19
mveCPallini16-Feb-09 0:19 
GeneralRe: Using GetSystemTime in WM_KEYDOWN Pin
EvScott16-Feb-09 0:54
EvScott16-Feb-09 0:54 
QuestionRe: Using GetSystemTime in WM_KEYDOWN Pin
CPallini16-Feb-09 0:58
mveCPallini16-Feb-09 0:58 
AnswerRe: Using GetSystemTime in WM_KEYDOWN Pin
EvScott16-Feb-09 1:48
EvScott16-Feb-09 1:48 
QuestionRe: Using GetSystemTime in WM_KEYDOWN Pin
CPallini16-Feb-09 1:56
mveCPallini16-Feb-09 1:56 
AnswerRe: Using GetSystemTime in WM_KEYDOWN Pin
EvScott16-Feb-09 2:11
EvScott16-Feb-09 2:11 
Thank you so much CPallini for you contribution. I made a small change to your original code by changing _T to L"" and it worked.
Below is your code that I made small changes to.

HRESULT hr = StringCbPrintf(msg, sizeof(TCHAR) * BUFSIZE, L"Time is %d", st.wMilliseconds);

So I suppose all that's left is to ship that crate of cool beer to ya as promised in my original post. Laugh | :laugh:
GeneralRe: Using GetSystemTime in WM_KEYDOWN Pin
CPallini16-Feb-09 2:19
mveCPallini16-Feb-09 2:19 
QuestionUpdateLayeredWindow error code 8 with CreateCompatibleDC Pin
Zyraph15-Feb-09 14:50
Zyraph15-Feb-09 14:50 
QuestionHelp with a very basic program Pin
method4ever15-Feb-09 12:48
method4ever15-Feb-09 12:48 
AnswerRe: Help with a very basic program Pin
Maximilien15-Feb-09 13:26
Maximilien15-Feb-09 13:26 
GeneralRe: Help with a very basic program Pin
method4ever15-Feb-09 17:53
method4ever15-Feb-09 17:53 
AnswerRe: Help with a very basic program Pin
«_Superman_»15-Feb-09 15:34
professional«_Superman_»15-Feb-09 15:34 
GeneralRe: Help with a very basic program Pin
method4ever15-Feb-09 18:13
method4ever15-Feb-09 18:13 
GeneralRe: Help with a very basic program Pin
«_Superman_»15-Feb-09 18:30
professional«_Superman_»15-Feb-09 18:30 
GeneralRe: Help with a very basic program Pin
method4ever16-Feb-09 1:27
method4ever16-Feb-09 1:27 
AnswerRe: Help with a very basic program Pin
Iain Clarke, Warrior Programmer15-Feb-09 22:35
Iain Clarke, Warrior Programmer15-Feb-09 22:35 
GeneralRe: Help with a very basic program Pin
LukeColowit17-Feb-09 2:52
LukeColowit17-Feb-09 2:52 
GeneralRe: Help with a very basic program Pin
Iain Clarke, Warrior Programmer17-Feb-09 7:32
Iain Clarke, Warrior Programmer17-Feb-09 7:32 
QuestionPlay a wav file in a dll from an exe? Pin
Hadi Dayvary15-Feb-09 10:37
professionalHadi Dayvary15-Feb-09 10:37 
QuestionCalculating the Number of Charcters in a Line Of a MultiLine Dialog Box Pin
ForNow15-Feb-09 10:16
ForNow15-Feb-09 10:16 
AnswerRe: Calculating the Number of Charcters in a Line Of a MultiLine Dialog Box Pin
Alexander M.,15-Feb-09 12:27
Alexander M.,15-Feb-09 12:27 
AnswerRe: Calculating the Number of Charcters in a Line Of a MultiLine Dialog Box Pin
Maximilien15-Feb-09 13:29
Maximilien15-Feb-09 13:29 
GeneralRe: Calculating the Number of Charcters in a Line Of a MultiLine Dialog Box Pin
ForNow15-Feb-09 14:42
ForNow15-Feb-09 14:42 

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.