Click here to Skip to main content
15,881,424 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSerialize a double floating point number Pin
Federico Milano27-Feb-06 3:09
Federico Milano27-Feb-06 3:09 
AnswerRe: Serialize a double floating point number Pin
Nick_Kisialiou27-Feb-06 19:36
Nick_Kisialiou27-Feb-06 19:36 
Questioncontrol over system Pin
rajeevktripathi27-Feb-06 1:31
rajeevktripathi27-Feb-06 1:31 
AnswerRe: control over system Pin
David Crow27-Feb-06 2:44
David Crow27-Feb-06 2:44 
AnswerRe: control over system Pin
Maximilien27-Feb-06 2:44
Maximilien27-Feb-06 2:44 
JokeRe: control over system Pin
Dennis Gourjii27-Feb-06 3:01
Dennis Gourjii27-Feb-06 3:01 
GeneralRe: control over system Pin
Blake Miller1-Mar-06 9:44
Blake Miller1-Mar-06 9:44 
QuestionYet another list view problem Pin
Waldermort27-Feb-06 1:27
Waldermort27-Feb-06 1:27 
Messages from List view controls are sent in the form of WM_NOTIFY, no problem catch the message perform the action. Until the messages that MSDN are talking about are not being sent.
case WM_NOTIFY:
    switch(LOWORD(wParam))
    {
        case IDC_LIST:
            if(((LPNMHDR)lParam)->code == NM_CLICK) {
                // this works
            }
            if((((LPNMHDR)lParam)->code == NM_DBLCLK)||
                (((LPNMLVKEYDOWN)lParam)->wVKey == VK_SPACE)||
                (((LPNMLVKEYDOWN)lParam)->wVKey == VK_RETURN)||
                (((LPNMHDR)lParam)->code == NM_RETURN)||
                (((LPNMLVKEYDOWN)lParam)->wVKey == VK_RIGHT)) {
                    // Both VK_RETURN & NM_RETURN dont work
            }
            else if(((LPNMLVKEYDOWN)lParam)->wVKey == VK_LEFT) {
                // this works
            }
        break;
    }
break;

When the Enter key is pressed, nothing happens, yet the directions and space bars do. I'm pretty sure there is nothing wrong with the above code. Also another little annoyance is there is no KEYUP, I want to perform an action when a new item is selected using the direction keys. As it stands I would have to pass the selected item to the function, instead of letting the function handle it.
AnswerRe: Yet another list view problem Pin
Naveen27-Feb-06 1:53
Naveen27-Feb-06 1:53 
GeneralRe: Yet another list view problem Pin
Waldermort27-Feb-06 2:05
Waldermort27-Feb-06 2:05 
GeneralRe: Yet another list view problem Pin
Waldermort27-Feb-06 3:11
Waldermort27-Feb-06 3:11 
QuestionImage in arc file Pin
rajeevktripathi27-Feb-06 1:24
rajeevktripathi27-Feb-06 1:24 
QuestionHow to check valid internet connection? Pin
Aryan S27-Feb-06 0:15
Aryan S27-Feb-06 0:15 
AnswerRe: How to check valid internet connection? Pin
Nibu babu thomas27-Feb-06 0:44
Nibu babu thomas27-Feb-06 0:44 
AnswerRe: How to check valid internet connection? Pin
David Crow27-Feb-06 2:46
David Crow27-Feb-06 2:46 
QuestionLaunching EXE Pin
Subramaniam s.V.27-Feb-06 0:14
Subramaniam s.V.27-Feb-06 0:14 
AnswerRe: Launching EXE Pin
Rage27-Feb-06 0:21
professionalRage27-Feb-06 0:21 
AnswerRe: Launching EXE Pin
David Crow27-Feb-06 2:47
David Crow27-Feb-06 2:47 
QuestionProject files are compiling always Pin
BiswaR26-Feb-06 23:31
BiswaR26-Feb-06 23:31 
AnswerRe: Project files are compiling always Pin
Dennis Gourjii26-Feb-06 23:47
Dennis Gourjii26-Feb-06 23:47 
GeneralRe: Project files are compiling always Pin
Subramaniam s.V.27-Feb-06 0:19
Subramaniam s.V.27-Feb-06 0:19 
GeneralRe: Project files are compiling always Pin
Dennis Gourjii27-Feb-06 0:42
Dennis Gourjii27-Feb-06 0:42 
AnswerRe: Project files are compiling always Pin
Cedric Moonen27-Feb-06 1:15
Cedric Moonen27-Feb-06 1:15 
QuestionPrinting Pin
Subramaniam s.V.26-Feb-06 22:44
Subramaniam s.V.26-Feb-06 22:44 
AnswerRe: Printing Pin
Dennis Gourjii26-Feb-06 23:50
Dennis Gourjii26-Feb-06 23:50 

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.