Click here to Skip to main content
16,004,969 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: What is meant by rotatin pointers?? Pin
Jörgen Sigvardsson23-Mar-06 12:36
Jörgen Sigvardsson23-Mar-06 12:36 
GeneralRe: What is meant by rotatin pointers?? Pin
pavanbabut23-Mar-06 14:40
pavanbabut23-Mar-06 14:40 
GeneralRe: What is meant by rotatin pointers?? Pin
Jörgen Sigvardsson23-Mar-06 20:18
Jörgen Sigvardsson23-Mar-06 20:18 
GeneralRe: What is meant by rotatin pointers?? Pin
pavanbabut24-Mar-06 4:35
pavanbabut24-Mar-06 4:35 
QuestionPalm Os: Infrared/frequency Pin
GreenLantern23-Mar-06 7:34
GreenLantern23-Mar-06 7:34 
AnswerRe: Palm Os: Infrared/frequency Pin
Rage23-Mar-06 8:38
professionalRage23-Mar-06 8:38 
QuestionRe: Palm Os: Infrared/frequency Pin
GreenLantern24-Mar-06 11:49
GreenLantern24-Mar-06 11:49 
Questionusing key input Pin
Waldermort23-Mar-06 6:53
Waldermort23-Mar-06 6:53 
Heres a new question that will probably go unanswered again.

I have a list view on my main Dialog. I am trying to perform actions when the user presses the direction keys. Now the VK_UP and VK_DOWN are left alone, they do the default of moving through the listview items.

I have no problem catching the VK_LEFT and VK_RIGHT, but I want to perform an alternate function when the user hits left or right in combination with VK_SHIFT.

So far everything I have tried has failed. The first problem is I am unable to distinguish between the two types of user input.
if(((LPNMHDR)lParam)->code == LVN_KEYDOWN) {
    if(((LPNMLVKEYDOWN)lParam)->wVKey == VK_SHIFT)
        break;
    data->display_navigate(((LPNMLVKEYDOWN)lParam)->wVKey);
}

the display_navigate() function examins the keycode and performs an action. But it gets called even if the user holds the shift key.
AnswerRe: using key input Pin
PJ Arends23-Mar-06 7:05
professionalPJ Arends23-Mar-06 7:05 
GeneralRe: using key input Pin
Waldermort23-Mar-06 7:08
Waldermort23-Mar-06 7:08 
Questionconnect to remote mysql with out using ODBC Pin
viperlogic23-Mar-06 5:52
viperlogic23-Mar-06 5:52 
AnswerRe: connect to remote mysql with out using ODBC Pin
includeh1023-Mar-06 5:59
includeh1023-Mar-06 5:59 
GeneralRe: connect to remote mysql with out using ODBC Pin
viperlogic23-Mar-06 6:16
viperlogic23-Mar-06 6:16 
GeneralRe: connect to remote mysql with out using ODBC Pin
includeh1023-Mar-06 6:28
includeh1023-Mar-06 6:28 
GeneralRe: connect to remote mysql with out using ODBC Pin
toxcct23-Mar-06 6:39
toxcct23-Mar-06 6:39 
QuestionHow to close CDialog Pin
ns23-Mar-06 5:48
ns23-Mar-06 5:48 
AnswerRe: How to close CDialog Pin
includeh1023-Mar-06 5:54
includeh1023-Mar-06 5:54 
AnswerRe: How to close CDialog Pin
PJ Arends23-Mar-06 6:38
professionalPJ Arends23-Mar-06 6:38 
GeneralRe: How to close CDialog Pin
ns23-Mar-06 8:54
ns23-Mar-06 8:54 
AnswerRe: How to close CDialog Pin
Jörgen Sigvardsson23-Mar-06 12:31
Jörgen Sigvardsson23-Mar-06 12:31 
Questionhow to build avi file to show clinical data? Pin
IlanTal23-Mar-06 5:27
IlanTal23-Mar-06 5:27 
AnswerRe: how to build avi file to show clinical data? Pin
normanS23-Mar-06 18:25
normanS23-Mar-06 18:25 
QuestionSockets And Processes Pin
KuRLiC23-Mar-06 5:18
KuRLiC23-Mar-06 5:18 
QuestionConstructor vs. Initialization problem Pin
kialmur23-Mar-06 4:56
kialmur23-Mar-06 4:56 
AnswerRe: Constructor vs. Initialization problem Pin
toxcct23-Mar-06 5:24
toxcct23-Mar-06 5:24 

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.