[RAPPS] Select the search bar with ctrl+f

This commit is contained in:
Mark Jansen 2018-06-05 22:07:39 +02:00
parent 7cb411e88f
commit 0ec08818b5
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B
3 changed files with 6 additions and 0 deletions

View file

@ -1456,6 +1456,10 @@ private:
PostMessageW(WM_CLOSE, 0, 0);
break;
case ID_SEARCH:
::SetFocus(m_SearchBar->m_hWnd);
break;
case ID_INSTALL:
if (IsAvailableEnum(SelectedEnumType))
{

View file

@ -79,6 +79,7 @@
#define ID_REGREMOVE 560
#define ID_RESETDB 561
#define ID_CHECK_ALL 562
#define ID_SEARCH 563
/* Strings */
#define IDS_APPTITLE 100

View file

@ -50,6 +50,7 @@ HOTKEYS ACCELERATORS
VK_F5, ID_RESETDB, CONTROL, VIRTKEY
VK_DELETE, ID_UNINSTALL, CONTROL, VIRTKEY
VK_RETURN, ID_INSTALL, CONTROL, VIRTKEY
"F", ID_SEARCH, CONTROL, VIRTKEY
}
#include <reactos/manifest_exe.rc>