Tengo que acceder los item en un treeview, para escribir un mensaje en un edit:
Código:
  
Tengo los siguientes errores:        case WM_NOTIFY:
            HTREEITEM hItem;
            LPNM_TREEVIEW pntv = (LPNM_TREEVIEW)lParam; //<--- Línea 127
            if(pntv->hdr.code == TVN_SELCHANGED)
            {
                if(pntv->itemNew.lParam == 1) SetWindowText(hEstado,"Opción 1");
            }
            return 0;
127 C:\instaladores_2\CC++\EjemplosDevC++\treview_1\tr eeview.cpp crosses initialization of `NMTREEVIEWA*pntv'
Nos vemos.
 
