ESC key clears function list filter & search result
Even the focus is not on filter field but on one of tree view entries. Fix #11063, close #11064
This commit is contained in:
parent
2b99372169
commit
fcfa034cc5
|
@ -608,6 +608,7 @@ void FunctionListPanel::notified(LPNMHDR notification)
|
|||
}
|
||||
else if (ptvkd->wVKey == VK_ESCAPE)
|
||||
{
|
||||
::SendMessage(_hSearchEdit, WM_SETTEXT, 0, reinterpret_cast<LPARAM>(TEXT("")));
|
||||
SetWindowLongPtr(_hSelf, DWLP_MSGRESULT, 1); // remove beep
|
||||
PostMessage(_hParent, WM_COMMAND, SCEN_SETFOCUS << 16, reinterpret_cast<LPARAM>((*_ppEditView)->getHSelf()));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue