Add ESC key in Function List to switch to edit window

Fix #8886, close #8890
This commit is contained in:
Vince 2020-09-23 10:54:02 -04:00 committed by Don HO
parent de202d9a14
commit aaa93025f0
No known key found for this signature in database
GPG Key ID: 6C429F1D8D84F46E
1 changed files with 4 additions and 0 deletions

View File

@ -575,6 +575,10 @@ void FunctionListPanel::notified(LPNMHDR notification)
}
PostMessage(_hParent, WM_COMMAND, SCEN_SETFOCUS << 16, reinterpret_cast<LPARAM>((*_ppEditView)->getHSelf()));
}
else if (ptvkd->wVKey == VK_ESCAPE)
{
PostMessage(_hParent, WM_COMMAND, SCEN_SETFOCUS << 16, reinterpret_cast<LPARAM>((*_ppEditView)->getHSelf()));
}
}
break;
}