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

C / C++ / MFC

 
AnswerRe: How to change the index of Header Item? Pin
_AnsHUMAN_ 15-Feb-09 19:48
_AnsHUMAN_ 15-Feb-09 19:48 
GeneralRe: How to change the index of Header Item? Pin
mikert_200815-Feb-09 20:37
mikert_200815-Feb-09 20:37 
GeneralRe: How to change the index of Header Item? Pin
_AnsHUMAN_ 15-Feb-09 20:44
_AnsHUMAN_ 15-Feb-09 20:44 
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 
I must be doing something really silly but I'm trying to get the time information when a key is hit down then released (WM_KEYUP). I'm writing a win32 application (doesn't anyone write these anymore?), but when I hit the key, I get a blank messagebox or squares. What am I doing wrong. Any good advice might win you a keg of cool beer or at least, a thanks.

case WM_KEYDOWN:
{
SYSTEMTIME st;
GetSystemTime(&st);
MessageBox(NULL,(LPCWSTR)L"Time is "+ st.wMilliseconds,(LPCWSTR)L"Keystroke Analysis",MB_OK);
}
break; //etc
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 
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 

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.