regedit: Merge accelerators into the main resource file.
This commit is contained in:
parent
50f785ef11
commit
3dc628c636
|
@ -1,47 +0,0 @@
|
|||
/*
|
||||
* Regedit resources
|
||||
*
|
||||
* Copyright 2002 Robert Dickenson
|
||||
*
|
||||
* 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 "resource.h"
|
||||
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
|
||||
|
||||
IDC_REGEDIT ACCELERATORS
|
||||
{
|
||||
"^F", ID_EDIT_FIND
|
||||
"^P", ID_REGISTRY_PRINT
|
||||
VK_DELETE, ID_EDIT_DELETE, VIRTKEY
|
||||
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY
|
||||
VK_F2, ID_EDIT_RENAME, VIRTKEY
|
||||
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY
|
||||
VK_F5, ID_VIEW_REFRESH, VIRTKEY
|
||||
}
|
||||
|
||||
/*****************************************************************/
|
||||
|
||||
/*
|
||||
* TEXTINCLUDE
|
||||
*/
|
||||
|
||||
1 TEXTINCLUDE
|
||||
BEGIN
|
||||
"resource.h\0"
|
||||
END
|
||||
|
||||
/*****************************************************************/
|
|
@ -18,10 +18,7 @@ C_SRCS = \
|
|||
regproc.c \
|
||||
treeview.c
|
||||
|
||||
RC_SRCS = \
|
||||
En.rc \
|
||||
regedit.rc
|
||||
|
||||
RC_SRCS = regedit.rc
|
||||
PO_SRCS = regedit.rc
|
||||
|
||||
MANPAGE = regedit.man
|
||||
|
|
|
@ -311,6 +311,21 @@ BEGIN
|
|||
PUSHBUTTON "Cancel",IDCANCEL,160,156,45,15,WS_GROUP
|
||||
END
|
||||
|
||||
/*
|
||||
* Accelerators
|
||||
*/
|
||||
|
||||
IDC_REGEDIT ACCELERATORS
|
||||
{
|
||||
"^F", ID_EDIT_FIND
|
||||
"^P", ID_REGISTRY_PRINT
|
||||
VK_DELETE, ID_EDIT_DELETE, VIRTKEY
|
||||
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY
|
||||
VK_F2, ID_EDIT_RENAME, VIRTKEY
|
||||
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY
|
||||
VK_F5, ID_VIEW_REFRESH, VIRTKEY
|
||||
}
|
||||
|
||||
/* define language neutral resources */
|
||||
|
||||
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
||||
|
|
Loading…
Reference in New Issue