Click here to Skip to main content
15,893,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How many rows (maximum) we can enter in a list countrl? Pin
toxcct27-Feb-06 4:57
toxcct27-Feb-06 4:57 
GeneralAre you all... Pin
Eytukan27-Feb-06 5:23
Eytukan27-Feb-06 5:23 
GeneralRe: Are you all... Pin
toxcct27-Feb-06 5:25
toxcct27-Feb-06 5:25 
GeneralRe: Are you all... Pin
Eytukan27-Feb-06 5:31
Eytukan27-Feb-06 5:31 
GeneralRe: Are you all... Pin
toxcct27-Feb-06 5:37
toxcct27-Feb-06 5:37 
GeneralRe: Are you all... Pin
Eytukan27-Feb-06 5:43
Eytukan27-Feb-06 5:43 
GeneralRe: Are you all... Pin
toxcct27-Feb-06 5:44
toxcct27-Feb-06 5:44 
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 

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.