mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Pressing ENTER when a value is selected in the listview will open the edit dialog.
svn path=/trunk/; revision=11462
This commit is contained in:
parent
4daf602867
commit
2e1e51f902
1 changed files with 5 additions and 4 deletions
|
@ -403,14 +403,15 @@ BOOL ListWndNotifyProc(HWND hWnd, WPARAM wParam, LPARAM lParam, BOOL *Result)
|
||||||
|
|
||||||
ListView_SortItems(hWnd, CompareFunc, (WPARAM)hWnd);
|
ListView_SortItems(hWnd, CompareFunc, (WPARAM)hWnd);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
case NM_DBLCLK:
|
case NM_DBLCLK:
|
||||||
|
case NM_RETURN:
|
||||||
{
|
{
|
||||||
SendMessage(hFrameWnd, WM_COMMAND, MAKEWPARAM(ID_EDIT_MODIFY, 0), 0);
|
SendMessage(hFrameWnd, WM_COMMAND, MAKEWPARAM(ID_EDIT_MODIFY, 0), 0);
|
||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
case NM_SETFOCUS:
|
case NM_SETFOCUS:
|
||||||
g_pChildWnd->nFocusPanel = 0;
|
g_pChildWnd->nFocusPanel = 0;
|
||||||
break;
|
break;
|
||||||
case LVN_BEGINLABELEDIT:
|
case LVN_BEGINLABELEDIT:
|
||||||
{
|
{
|
||||||
PLINE_INFO lineinfo;
|
PLINE_INFO lineinfo;
|
||||||
|
|
Loading…
Reference in a new issue