comctl32/treeview: Notify the parent on a return key press.

This commit is contained in:
Christoph von Wittich 2014-05-06 23:27:44 +02:00 committed by Alexandre Julliard
parent 74c5e38b7c
commit 4cc503d164
1 changed files with 4 additions and 0 deletions

View File

@ -5259,6 +5259,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;