From c3c85103f2f19cfb442328227f7097cb09f44a78 Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Sun, 7 Dec 2014 11:07:51 +0000 Subject: [PATCH] [EXPLORER] - Add accelerator table for the taskbar. It is unused for now. svn path=/trunk/; revision=65578 --- reactos/base/shell/explorer/explorer.rc | 15 +++++++++++++++ reactos/base/shell/explorer/resource.h | 8 ++++++++ 2 files changed, 23 insertions(+) diff --git a/reactos/base/shell/explorer/explorer.rc b/reactos/base/shell/explorer/explorer.rc index a7f9c6afd9b..2cfc04be332 100644 --- a/reactos/base/shell/explorer/explorer.rc +++ b/reactos/base/shell/explorer/explorer.rc @@ -31,6 +31,21 @@ BEGIN IDS_HELP_COMMAND "https://www.reactos.org/" END +IDA_TASKBAR ACCELERATORS +BEGIN + "s", IDMA_START, ALT + VK_F6, IDMA_CYCLE_FOCUS, VIRTKEY + VK_TAB, IDMA_CYCLE_FOCUS, VIRTKEY + VK_TAB, IDMA_CYCLE_FOCUS, VIRTKEY, CONTROL + VK_TAB, IDMA_CYCLE_FOCUS, VIRTKEY, SHIFT + VK_TAB, IDMA_CYCLE_FOCUS, VIRTKEY, CONTROL, SHIFT + VK_F3, IDMA_SEARCH, VIRTKEY + //VK_F5, 41061, VIRTKEY + VK_RETURN, IDM_TASKBARANDSTARTMENU, VIRTKEY, ALT + "Z", IDMA_RESTORE_OPEN, VIRTKEY, CONTROL + "M", IDMA_MINIMIZE_ALL, VIRTKEY, ALT +END + /* UTF-8 */ #pragma code_page(65001) diff --git a/reactos/base/shell/explorer/resource.h b/reactos/base/shell/explorer/resource.h index 08ac0614b62..4fa2ba298b1 100644 --- a/reactos/base/shell/explorer/resource.h +++ b/reactos/base/shell/explorer/resource.h @@ -17,6 +17,14 @@ #define IDB_STARTMENU 101 +#define IDA_TASKBAR 251 + +#define IDMA_START 305 +#define IDMA_CYCLE_FOCUS 41008 +#define IDMA_SEARCH 41093 +#define IDMA_RESTORE_OPEN 416 +#define IDMA_MINIMIZE_ALL 419 + #define ID_SHELL_CMD_FIRST 0xF #define ID_SHELL_CMD_LAST 0x7FEF #define ID_SHELL_CMD_PROPERTIES (ID_SHELL_CMD_LAST + 1)