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

C / C++ / MFC

 
GeneralRe: How to change the index of Header Item? Pin
mikert_200815-Feb-09 21:18
mikert_200815-Feb-09 21:18 
GeneralRe: How to change the index of Header Item? Pin
Rolf Kristensen18-Feb-09 8:27
Rolf Kristensen18-Feb-09 8:27 
QuestionSample code which caculates HCF/LCM of two or more numbers? [modified] Pin
kapardhi15-Feb-09 18:38
kapardhi15-Feb-09 18:38 
AnswerRe: Sample code which caculates HCF/LCM of two or more numbers? Pin
Nuri Ismail15-Feb-09 21:28
Nuri Ismail15-Feb-09 21:28 
QuestionUsing GetSystemTime in WM_KEYDOWN Pin
EvScott15-Feb-09 16:50
EvScott15-Feb-09 16:50 
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 
EvScott wrote:
doesn't anyone write these anymore?

Yes. Roll eyes | :rolleyes:

case WM_KEYDOWN:
{
  
  SYSTEMTIME st;
  GetSystemTime(&st);
  const int BUFSIZE = 0x100;
  TCHAR msg[BUFSIZE];
  HRESULT hr = StringCbPrintf(msg, sizeof(TCHAR) * BUFSIZE, _T("Time is %d"), st.wMilliseconds);

  if (SUCCEEDED(hr)) MessageBox(NULL, msg, _T("Keystroke Analysis"),MB_OK);
}
break;


Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

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 
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 

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.