mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
91af99323f
Enable visual styles using RunDLL manifest (resource ID 123). CORE-12285 This was documented here: https://learn.microsoft.com/en-us/windows/win32/controls/cookbook-overview?redirectedfrom=MSDN#using-comctl32-version-6-in-control-panel-or-a-dll-that-is-run-by-rundll32exe
203 lines
5 KiB
Text
203 lines
5 KiB
Text
/*
|
|
* Top level resource file for shell stuff
|
|
*
|
|
* Copyright 1998 Juergen Schmied
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
*/
|
|
|
|
#include <windef.h>
|
|
#include <winuser.h>
|
|
#include <commctrl.h>
|
|
|
|
#include "shresdef.h"
|
|
|
|
#include "shell32_version.rc"
|
|
|
|
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
|
|
|
IDA_SHELLVIEW ACCELERATORS
|
|
BEGIN
|
|
"D", FCIDM_SHVIEW_DELETE, VIRTKEY, CONTROL
|
|
VK_DELETE, FCIDM_SHVIEW_DELETE, VIRTKEY
|
|
VK_DELETE, FCIDM_SHVIEW_DELETE, VIRTKEY, SHIFT
|
|
VK_F2, FCIDM_SHVIEW_RENAME, VIRTKEY
|
|
VK_RETURN, FCIDM_SHVIEW_PROPERTIES, VIRTKEY, ALT
|
|
"X", FCIDM_SHVIEW_CUT, VIRTKEY, CONTROL
|
|
"C", FCIDM_SHVIEW_COPY, VIRTKEY, CONTROL
|
|
VK_INSERT, FCIDM_SHVIEW_COPY, VIRTKEY, CONTROL
|
|
"V", FCIDM_SHVIEW_INSERT, VIRTKEY, CONTROL
|
|
VK_INSERT, FCIDM_SHVIEW_INSERT, VIRTKEY, SHIFT
|
|
"Z", FCIDM_SHVIEW_UNDO, VIRTKEY, CONTROL
|
|
"A", FCIDM_SHVIEW_SELECTALL, VIRTKEY, CONTROL
|
|
VK_F1, FCIDM_SHVIEW_HELP, VIRTKEY
|
|
|
|
/* FIXME: the following accelerator doesn't belong here. This accelerator
|
|
* table is used by the shell view control. F5 should be handled by the
|
|
* a different accelerator table thats translated in IShellBrowser::TranslateAcceleratorSB
|
|
* but will put it here until the shell work fine */
|
|
VK_F5, FCIDM_SHVIEW_REFRESH, VIRTKEY
|
|
END
|
|
|
|
shv_accel ACCELERATORS
|
|
BEGIN
|
|
VK_F5, FCIDM_SHVIEW_REFRESH, VIRTKEY
|
|
END
|
|
|
|
IDA_DESKBROWSER ACCELERATORS
|
|
BEGIN
|
|
//"s", 34172, ALT
|
|
VK_F4, FCIDM_DESKBROWSER_CLOSE, VIRTKEY, ALT
|
|
VK_F6, FCIDM_DESKBROWSER_FOCUS, VIRTKEY
|
|
VK_TAB, FCIDM_DESKBROWSER_FOCUS, VIRTKEY
|
|
VK_TAB, FCIDM_DESKBROWSER_FOCUS, VIRTKEY, SHIFT
|
|
VK_F3, FCIDM_DESKBROWSER_SEARCH, VIRTKEY
|
|
VK_F5, FCIDM_DESKBROWSER_REFRESH, VIRTKEY
|
|
END
|
|
|
|
/*
|
|
* This include a set of Shell32 icons,
|
|
* bitmaps and avi files. Licence's can be
|
|
* found in the corresponding directorys
|
|
*/
|
|
#include "icon_res.rc"
|
|
#include "bitmap_res.rc"
|
|
#include "avi_res.rc"
|
|
#include "rgs_res.rc"
|
|
|
|
#include <reactos/manifest_dll.rc>
|
|
#include <reactos/manifest_hosted.rc>
|
|
|
|
1 TYPELIB "shell32_shldisp.tlb"
|
|
|
|
/*
|
|
* Everything specific to any language goes
|
|
* in one of the specific files.
|
|
* Note that you can and may override resources
|
|
* which also have a neutral version. This is to
|
|
* get localized bitmaps for example.
|
|
*/
|
|
#ifdef LANGUAGE_EN_GB
|
|
#include "lang/en-GB.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_EN_US
|
|
#include "lang/en-US.rc"
|
|
#endif
|
|
|
|
/* UTF-8 */
|
|
#pragma code_page(65001)
|
|
|
|
#ifdef LANGUAGE_BG_BG
|
|
#include "lang/bg-BG.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_CA_ES
|
|
#include "lang/ca-ES.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_CS_CZ
|
|
#include "lang/cs-CZ.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_DA_DK
|
|
#include "lang/da-DK.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_DE_DE
|
|
#include "lang/de-DE.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_EL_GR
|
|
#include "lang/el-GR.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_ES_ES
|
|
#include "lang/es-ES.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_ET_EE
|
|
#include "lang/et-EE.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_EU_ES
|
|
#include "lang/eu-ES.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_FI_FI
|
|
#include "lang/fi-FI.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_FR_FR
|
|
#include "lang/fr-FR.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_HE_IL
|
|
#include "lang/he-IL.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_HI_IN
|
|
#include "lang/hi-IN.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_HU_HU
|
|
#include "lang/hu-HU.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_ID_ID
|
|
#include "lang/id-ID.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_IT_IT
|
|
#include "lang/it-IT.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_JA_JP
|
|
#include "lang/ja-JP.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_KO_KR
|
|
#include "lang/ko-KR.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_NL_NL
|
|
#include "lang/nl-NL.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_NB_NO
|
|
#include "lang/no-NO.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_PL_PL
|
|
#include "lang/pl-PL.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_PT_BR
|
|
#include "lang/pt-BR.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_PT_PT
|
|
#include "lang/pt-PT.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_RO_RO
|
|
#include "lang/ro-RO.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_RU_RU
|
|
#include "lang/ru-RU.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_SK_SK
|
|
#include "lang/sk-SK.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_SL_SI
|
|
#include "lang/sl-SI.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_SQ_AL
|
|
#include "lang/sq-AL.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_SV_SE
|
|
#include "lang/sv-SE.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_TR_TR
|
|
#include "lang/tr-TR.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_UK_UA
|
|
#include "lang/uk-UA.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_ZH_CN
|
|
#include "lang/zh-CN.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_ZH_HK
|
|
#include "lang/zh-HK.rc"
|
|
#endif
|
|
#ifdef LANGUAGE_ZH_TW
|
|
#include "lang/zh-TW.rc"
|
|
#endif
|