[comctl32]
authorChristoph von Wittich <christoph_vw@reactos.org>
Sun, 11 May 2014 05:04:56 +0000 (05:04 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Sun, 11 May 2014 05:04:56 +0000 (05:04 +0000)
Notify the parent on a return key press.
fixes return key in device manager

svn path=/trunk/; revision=63225

reactos/dll/win32/comctl32/treeview.c

index ec60708..73e5ca0 100644 (file)
@@ -5242,6 +5242,10 @@ TREEVIEW_KeyDown(TREEVIEW_INFO *infoPtr, WPARAM wParam)
        newSelection = TREEVIEW_GetNextListItem(infoPtr, prevItem);
        break;
 
+    case VK_RETURN:
+        TREEVIEW_SendSimpleNotify(infoPtr, NM_RETURN);
+    break;
+    
     case VK_HOME:
        newSelection = infoPtr->root->firstChild;
        break;