Click here to Skip to main content
15,908,674 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Word Wrap Pin
David Crow12-Nov-03 9:38
David Crow12-Nov-03 9:38 
GeneralRe: Word Wrap Pin
georgiek5012-Nov-03 11:52
georgiek5012-Nov-03 11:52 
GeneralTVN_SELCHANGED problems Pin
LukeV12-Nov-03 6:46
LukeV12-Nov-03 6:46 
GeneralRe: TVN_SELCHANGED problems Pin
David Crow12-Nov-03 6:50
David Crow12-Nov-03 6:50 
GeneralRe: TVN_SELCHANGED problems Pin
LukeV12-Nov-03 6:56
LukeV12-Nov-03 6:56 
GeneralRe: TVN_SELCHANGED problems Pin
David Crow12-Nov-03 7:09
David Crow12-Nov-03 7:09 
GeneralRe: TVN_SELCHANGED problems Pin
LukeV12-Nov-03 7:11
LukeV12-Nov-03 7:11 
GeneralRe: TVN_SELCHANGED problems Pin
David Crow12-Nov-03 7:21
David Crow12-Nov-03 7:21 
My bad. I'm curious what messages are received when interacting with the treeview control.

SOMEAPP_API LRESULT CALLBACK SomeAppProc( HWND hwnd, UINT unMsg, WPARAM wParam, LPARAM lParam )
{ 
    case WM_NOTIFY: 
    {  
        switch(((LPNMHDR) lParam)->code)
        {       
            case TVN_SELCHANGED:    
                LPNMTREEVIEW pnmtv = (LPNMTREEVIEW) lParam ;   
                break;  
            <code>default:
                char szBuffer[128];
                sprintf(szBuffer, "Received notification %#x\n", ((LPNMHDR) lParam)->code);
                OutputDebugString(szBuffer);
                break;</code>
        }  
 
        break; 
    }
}



Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?

GeneralRe: TVN_SELCHANGED problems Pin
Roger Allen12-Nov-03 7:26
Roger Allen12-Nov-03 7:26 
GeneralRe: TVN_SELCHANGED problems Pin
LukeV12-Nov-03 7:43
LukeV12-Nov-03 7:43 
GeneralRe: TVN_SELCHANGED problems Pin
LukeV12-Nov-03 7:39
LukeV12-Nov-03 7:39 
GeneralRe: TVN_SELCHANGED problems Pin
David Crow12-Nov-03 8:00
David Crow12-Nov-03 8:00 
GeneralRe: TVN_SELCHANGED problems Pin
LukeV12-Nov-03 8:10
LukeV12-Nov-03 8:10 
GeneralDynamically-built Menus Pin
Sean Payne12-Nov-03 6:22
professionalSean Payne12-Nov-03 6:22 
GeneralRe: Dynamically-built Menus Pin
Roger Allen12-Nov-03 7:23
Roger Allen12-Nov-03 7:23 
GeneralRe: Dynamically-built Menus Pin
Zero_divide_113-Nov-03 16:30
Zero_divide_113-Nov-03 16:30 
General_com_dispatch_method undefied Pin
Rene De La Garza12-Nov-03 5:58
Rene De La Garza12-Nov-03 5:58 
GeneralRe: _com_dispatch_method undefied Pin
Peter Molnar12-Nov-03 13:10
Peter Molnar12-Nov-03 13:10 
GeneralRe: _com_dispatch_method undefied Pin
Rene De La Garza12-Nov-03 13:12
Rene De La Garza12-Nov-03 13:12 
GeneralRe: _com_dispatch_method undefied Pin
Peter Molnar12-Nov-03 13:21
Peter Molnar12-Nov-03 13:21 
GeneralRe: _com_dispatch_method undefied Pin
Rene De La Garza12-Nov-03 13:22
Rene De La Garza12-Nov-03 13:22 
GeneralRe: _com_dispatch_method undefied Pin
Peter Molnar12-Nov-03 13:24
Peter Molnar12-Nov-03 13:24 
GeneralRe: _com_dispatch_method undefied Pin
Rene De La Garza12-Nov-03 13:30
Rene De La Garza12-Nov-03 13:30 
GeneralRe: _com_dispatch_method undefied Pin
Peter Molnar12-Nov-03 13:37
Peter Molnar12-Nov-03 13:37 
GeneralRe: _com_dispatch_method undefied Pin
Rene De La Garza12-Nov-03 13:39
Rene De La Garza12-Nov-03 13:39 

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.