comctl32/treeview: Notify the parent on a return key press.
This commit is contained in:
parent
74c5e38b7c
commit
4cc503d164
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue