2002-09-03 18:44:19 +00:00
|
|
|
|
#include <windows.h>
|
2002-07-20 16:29:26 +00:00
|
|
|
|
#include <reactos/resource.h>
|
|
|
|
|
|
2002-07-16 22:18:29 +00:00
|
|
|
|
#include "resource.h"
|
2002-07-03 17:52:20 +00:00
|
|
|
|
|
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
//
|
|
|
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
|
|
|
//
|
|
|
|
|
#define APSTUDIO_HIDDEN_SYMBOLS
|
|
|
|
|
#include "windows.h"
|
|
|
|
|
#undef APSTUDIO_HIDDEN_SYMBOLS
|
|
|
|
|
#include "resource.h"
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// English (U.S.) resources
|
|
|
|
|
|
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
|
|
|
#pragma code_page(1252)
|
|
|
|
|
#endif //_WIN32
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
//
|
|
|
|
|
// Icon
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
|
|
|
// remains consistent on all systems.
|
2002-07-14 17:59:36 +00:00
|
|
|
|
IDI_REGEDIT ICON DISCARDABLE "res/regedit.ico"
|
|
|
|
|
IDI_SMALL ICON DISCARDABLE "res/small.ico"
|
2002-07-03 17:52:20 +00:00
|
|
|
|
|
2002-07-16 22:18:29 +00:00
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
//
|
|
|
|
|
// Bitmap
|
|
|
|
|
//
|
2002-07-03 17:52:20 +00:00
|
|
|
|
|
2002-07-18 18:16:42 +00:00
|
|
|
|
IDB_OPEN_FILE BITMAP DISCARDABLE "res/folder3.bmp"
|
|
|
|
|
IDB_CLOSED_FILE BITMAP DISCARDABLE "res/folder1.bmp"
|
|
|
|
|
IDB_ROOT BITMAP DISCARDABLE "res/folder2.bmp"
|
2002-07-03 17:52:20 +00:00
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
//
|
|
|
|
|
// Menu
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
IDC_REGEDIT MENU DISCARDABLE
|
|
|
|
|
BEGIN
|
|
|
|
|
POPUP "&File"
|
|
|
|
|
BEGIN
|
2002-07-14 17:59:36 +00:00
|
|
|
|
MENUITEM "E&xit", ID_REGISTRY_EXIT
|
2002-07-03 17:52:20 +00:00
|
|
|
|
END
|
|
|
|
|
POPUP "&Help"
|
|
|
|
|
BEGIN
|
2002-07-14 17:59:36 +00:00
|
|
|
|
MENUITEM "&About ...", ID_HELP_ABOUT
|
2002-07-03 17:52:20 +00:00
|
|
|
|
END
|
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
IDR_REGEDIT_MENU MENU DISCARDABLE
|
|
|
|
|
BEGIN
|
|
|
|
|
POPUP "&Registry"
|
|
|
|
|
BEGIN
|
2002-07-16 22:18:29 +00:00
|
|
|
|
MENUITEM "&Import Registry File...", ID_REGISTRY_IMPORTREGISTRYFILE
|
|
|
|
|
, GRAYED
|
|
|
|
|
MENUITEM "&Export Registry File...", ID_REGISTRY_EXPORTREGISTRYFILE
|
|
|
|
|
, GRAYED
|
2002-07-03 17:52:20 +00:00
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
|
MENUITEM "&Connect Network Registry...",
|
2002-07-16 22:18:29 +00:00
|
|
|
|
ID_REGISTRY_CONNECTNETWORKREGISTRY
|
|
|
|
|
, GRAYED
|
2002-07-03 17:52:20 +00:00
|
|
|
|
MENUITEM "&Disconnect Network Registry...",
|
2002-07-16 22:18:29 +00:00
|
|
|
|
ID_REGISTRY_DISCONNECTNETWORKREGISTRY
|
|
|
|
|
, GRAYED
|
2002-07-03 17:52:20 +00:00
|
|
|
|
MENUITEM SEPARATOR
|
2002-07-14 17:59:36 +00:00
|
|
|
|
MENUITEM "&Print\tCtrl+P", ID_REGISTRY_PRINT, GRAYED
|
2002-07-03 17:52:20 +00:00
|
|
|
|
MENUITEM SEPARATOR
|
2002-07-14 17:59:36 +00:00
|
|
|
|
MENUITEM "E&xit", ID_REGISTRY_EXIT
|
2002-07-03 17:52:20 +00:00
|
|
|
|
END
|
|
|
|
|
POPUP "&Edit"
|
|
|
|
|
BEGIN
|
|
|
|
|
MENUITEM "&Modify", ID_EDIT_MODIFY
|
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
|
POPUP "&New"
|
|
|
|
|
BEGIN
|
|
|
|
|
MENUITEM "&Key", ID_EDIT_NEW_KEY
|
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
|
MENUITEM "&String Value", ID_EDIT_NEW_STRINGVALUE
|
|
|
|
|
MENUITEM "&Binary Value", ID_EDIT_NEW_BINARYVALUE
|
|
|
|
|
MENUITEM "&DWORD Value", ID_EDIT_NEW_DWORDVALUE
|
|
|
|
|
END
|
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
|
MENUITEM "&Delete\tDel", ID_EDIT_DELETE
|
|
|
|
|
MENUITEM "&Rename", ID_EDIT_RENAME
|
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
|
MENUITEM "&Copy Key Name", ID_EDIT_COPYKEYNAME
|
|
|
|
|
MENUITEM SEPARATOR
|
2002-07-14 17:59:36 +00:00
|
|
|
|
MENUITEM "&Find\tCtrl+F", ID_EDIT_FIND, GRAYED
|
|
|
|
|
MENUITEM "Find Ne&xt\tF3", ID_EDIT_FINDNEXT, GRAYED
|
2002-07-03 17:52:20 +00:00
|
|
|
|
END
|
|
|
|
|
POPUP "&View"
|
|
|
|
|
BEGIN
|
|
|
|
|
MENUITEM "Status &Bar", ID_VIEW_STATUSBAR
|
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
|
MENUITEM "Sp&lit", ID_VIEW_SPLIT
|
|
|
|
|
MENUITEM SEPARATOR
|
|
|
|
|
MENUITEM "&Refresh\tF5", ID_VIEW_REFRESH
|
|
|
|
|
END
|
|
|
|
|
POPUP "&Favourites"
|
|
|
|
|
BEGIN
|
2002-07-16 22:18:29 +00:00
|
|
|
|
MENUITEM "&Add to Favourites", ID_FAVOURITES_ADDTOFAVOURITES
|
|
|
|
|
, GRAYED
|
2002-07-03 17:52:20 +00:00
|
|
|
|
MENUITEM "&Remove Favourite", ID_FAVOURITES_REMOVEFAVOURITE
|
|
|
|
|
, GRAYED
|
|
|
|
|
END
|
|
|
|
|
POPUP "&Help"
|
|
|
|
|
BEGIN
|
|
|
|
|
MENUITEM "&Help Topics", ID_HELP_HELPTOPICS
|
|
|
|
|
MENUITEM SEPARATOR
|
2002-07-14 17:59:36 +00:00
|
|
|
|
MENUITEM "&About Registry Editor", ID_HELP_ABOUT
|
2002-07-03 17:52:20 +00:00
|
|
|
|
END
|
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
//
|
|
|
|
|
// Dialog
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
IDD_ABOUTBOX DIALOG DISCARDABLE 22, 17, 230, 75
|
|
|
|
|
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
|
|
|
|
|
CAPTION "About"
|
|
|
|
|
FONT 8, "System"
|
|
|
|
|
BEGIN
|
2002-07-03 18:12:53 +00:00
|
|
|
|
ICON IDI_REGEDIT,IDI_REGEDIT,14,9,16,16
|
2002-07-03 17:52:20 +00:00
|
|
|
|
LTEXT "ReactOS regedit Version 1.0",IDC_STATIC,49,10,119,8,
|
|
|
|
|
SS_NOPREFIX
|
|
|
|
|
LTEXT "Copyright (C) 2002 ReactOS Team",IDC_STATIC,49,20,119,8
|
|
|
|
|
DEFPUSHBUTTON "OK",IDOK,195,6,30,11,WS_GROUP
|
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
//
|
|
|
|
|
// TEXTINCLUDE
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
2 TEXTINCLUDE DISCARDABLE
|
|
|
|
|
BEGIN
|
|
|
|
|
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
|
|
|
|
|
"#include ""windows.h""\r\n"
|
|
|
|
|
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
|
|
|
|
|
"#include ""resource.h""\r\n"
|
|
|
|
|
"\0"
|
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
3 TEXTINCLUDE DISCARDABLE
|
|
|
|
|
BEGIN
|
|
|
|
|
"\r\n"
|
|
|
|
|
"\0"
|
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
|
|
|
|
|
2002-07-18 18:16:42 +00:00
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
//
|
|
|
|
|
// Version
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
2002-07-20 16:29:26 +00:00
|
|
|
|
FILEVERSION RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
|
|
|
|
|
PRODUCTVERSION RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
|
2002-07-18 18:16:42 +00:00
|
|
|
|
FILEFLAGSMASK 0x3fL
|
|
|
|
|
#ifdef _DEBUG
|
|
|
|
|
FILEFLAGS 0x1L
|
|
|
|
|
#else
|
|
|
|
|
FILEFLAGS 0x0L
|
|
|
|
|
#endif
|
|
|
|
|
FILEOS 0x40004L
|
|
|
|
|
FILETYPE 0x1L
|
|
|
|
|
FILESUBTYPE 0x0L
|
|
|
|
|
BEGIN
|
|
|
|
|
BLOCK "StringFileInfo"
|
|
|
|
|
BEGIN
|
2002-07-20 16:29:26 +00:00
|
|
|
|
BLOCK "040904b0"
|
2002-07-18 18:16:42 +00:00
|
|
|
|
BEGIN
|
|
|
|
|
VALUE "Comments", "Absolutely no warranties whatsoever - Use at your own risk\0"
|
2002-07-20 16:29:26 +00:00
|
|
|
|
VALUE "CompanyName", RES_STR_COMPANY_NAME
|
2002-07-18 18:16:42 +00:00
|
|
|
|
VALUE "FileDescription", "ReactOS Registry Editor by Robert Dickenson\0"
|
|
|
|
|
VALUE "FileVersion", "1, 0, 0, 1\0"
|
|
|
|
|
VALUE "InternalName", "regedit\0"
|
|
|
|
|
VALUE "LegalCopyright", "Copyright <20> 2002 Robert Dickenson\0"
|
|
|
|
|
VALUE "LegalTrademarks", "\0"
|
|
|
|
|
VALUE "OriginalFilename", "regedit.exe\0"
|
|
|
|
|
VALUE "PrivateBuild", "\0"
|
2002-07-20 16:29:26 +00:00
|
|
|
|
VALUE "ProductName", RES_STR_PRODUCT_NAME
|
|
|
|
|
VALUE "ProductVersion", RES_STR_PRODUCT_VERSION
|
2002-07-18 18:16:42 +00:00
|
|
|
|
VALUE "SpecialBuild", "Non-versioned Development Beta Release\0"
|
|
|
|
|
END
|
|
|
|
|
END
|
|
|
|
|
BLOCK "VarFileInfo"
|
|
|
|
|
BEGIN
|
|
|
|
|
VALUE "Translation", 0xc09, 1200
|
|
|
|
|
END
|
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
|
2002-07-03 17:52:20 +00:00
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
//
|
|
|
|
|
// String Table
|
|
|
|
|
//
|
|
|
|
|
|
2002-07-16 22:18:29 +00:00
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
|
|
|
BEGIN
|
|
|
|
|
IDS_LIST_COLUMN_NAME "Name"
|
|
|
|
|
IDS_LIST_COLUMN_TYPE "Type"
|
|
|
|
|
IDS_LIST_COLUMN_DATA "Data"
|
|
|
|
|
END
|
|
|
|
|
|
2002-07-03 17:52:20 +00:00
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
|
|
|
BEGIN
|
|
|
|
|
IDS_APP_TITLE "ReactOS Registry Editor"
|
2002-07-16 22:18:29 +00:00
|
|
|
|
IDC_REGEDIT "REGEDIT"
|
|
|
|
|
IDC_REGEDIT_FRAME "REGEDIT_FRAME"
|
|
|
|
|
END
|
2002-07-03 17:52:20 +00:00
|
|
|
|
|
2002-07-16 22:18:29 +00:00
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
|
|
|
BEGIN
|
2002-07-03 17:52:20 +00:00
|
|
|
|
ID_REGISTRY_MENU "Contains commands for working with the whole registry"
|
|
|
|
|
ID_EDIT_MENU "Contains commands for editing values or keys"
|
2002-07-03 19:33:40 +00:00
|
|
|
|
ID_VIEW_MENU "Contains commands for customising the registry window"
|
|
|
|
|
ID_FAVOURITES_MENU "Contains commands for accessing frequently used keys"
|
|
|
|
|
ID_HELP_MENU "Contains commands for displaying help and information about registry editor"
|
2002-07-16 22:18:29 +00:00
|
|
|
|
ID_EDIT_NEW_MENU "Contains commands for creating new keys or values"
|
|
|
|
|
END
|
2002-07-03 17:52:20 +00:00
|
|
|
|
|
2002-07-16 22:18:29 +00:00
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
|
|
|
BEGIN
|
|
|
|
|
ID_EDIT_MODIFY "Modifies the value's data"
|
2002-07-03 17:52:20 +00:00
|
|
|
|
ID_EDIT_NEW_KEY "Adds a new key"
|
|
|
|
|
ID_EDIT_NEW_STRINGVALUE "Adds a new string value"
|
|
|
|
|
ID_EDIT_NEW_BINARYVALUE "Adds a new binary value"
|
|
|
|
|
ID_EDIT_NEW_DWORDVALUE "Adds a new double word value"
|
2002-07-16 22:18:29 +00:00
|
|
|
|
ID_REGISTRY_IMPORTREGISTRYFILE "Imports a text file into the registry"
|
|
|
|
|
ID_REGISTRY_EXPORTREGISTRYFILE
|
|
|
|
|
"Exports all or part of the registry to a text file"
|
|
|
|
|
ID_REGISTRY_CONNECTNETWORKREGISTRY
|
|
|
|
|
"Connects to a remote computer's registry"
|
|
|
|
|
ID_REGISTRY_DISCONNECTNETWORKREGISTRY
|
|
|
|
|
"Disconnects from a remote computer's registry"
|
|
|
|
|
ID_REGISTRY_PRINT "Prints all or part of the registry"
|
|
|
|
|
ID_HELP_ABOUT "Displays program information, version number and copyright"
|
|
|
|
|
END
|
2002-07-03 17:52:20 +00:00
|
|
|
|
|
2002-07-16 22:18:29 +00:00
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
|
|
|
BEGIN
|
|
|
|
|
ID_REGISTRY_EXIT "Quits the registry editor"
|
|
|
|
|
ID_HELP_HELPTOPICS "Opens registry editor help"
|
|
|
|
|
ID_FAVOURITES_ADDTOFAVOURITES "Adds keys to the favourites list"
|
|
|
|
|
ID_FAVOURITES_REMOVEFAVOURITE "Removes keys from the favourites list"
|
|
|
|
|
ID_VIEW_STATUSBAR "Shows or hides the status bar"
|
|
|
|
|
ID_VIEW_SPLIT "Change position of split between two panes"
|
|
|
|
|
ID_VIEW_REFRESH "Refreshes the window"
|
2002-07-03 17:52:20 +00:00
|
|
|
|
ID_EDIT_DELETE "Deletes the selection"
|
|
|
|
|
ID_EDIT_RENAME "Renames the selection"
|
|
|
|
|
ID_EDIT_COPYKEYNAME "Copies the name of the selected key to the clipboard"
|
|
|
|
|
ID_EDIT_FIND "Finds a text string in a key, value or data"
|
|
|
|
|
ID_EDIT_FINDNEXT "Finds next occurrence of text specified in previous search"
|
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
#endif // English (U.S.) resources
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// English (Australia) resources
|
|
|
|
|
|
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENA)
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_AUS
|
|
|
|
|
#pragma code_page(1252)
|
|
|
|
|
#endif //_WIN32
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
//
|
|
|
|
|
// Dialog
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 186, 95
|
|
|
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
|
|
|
CAPTION "Dialog"
|
|
|
|
|
FONT 8, "MS Sans Serif"
|
|
|
|
|
BEGIN
|
|
|
|
|
DEFPUSHBUTTON "OK",IDOK,129,7,50,14
|
|
|
|
|
PUSHBUTTON "Cancel",IDCANCEL,129,24,50,14
|
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
//
|
|
|
|
|
// TEXTINCLUDE
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
1 TEXTINCLUDE DISCARDABLE
|
|
|
|
|
BEGIN
|
|
|
|
|
"resource.h\0"
|
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
//
|
|
|
|
|
// DESIGNINFO
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
|
|
|
GUIDELINES DESIGNINFO DISCARDABLE
|
|
|
|
|
BEGIN
|
|
|
|
|
IDD_DIALOG1, DIALOG
|
|
|
|
|
BEGIN
|
|
|
|
|
LEFTMARGIN, 7
|
|
|
|
|
RIGHTMARGIN, 179
|
|
|
|
|
TOPMARGIN, 7
|
|
|
|
|
BOTTOMMARGIN, 88
|
|
|
|
|
END
|
|
|
|
|
END
|
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
//
|
|
|
|
|
// String Table
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
|
|
|
BEGIN
|
|
|
|
|
ID_HELP_HELPTOPICS "Opens Registry Editor Help."
|
2002-07-14 17:59:36 +00:00
|
|
|
|
ID_HELP_ABOUT "Displays program information, version number, and copyright."
|
2002-07-03 17:52:20 +00:00
|
|
|
|
END
|
|
|
|
|
|
|
|
|
|
#endif // English (Australia) resources
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
//
|
|
|
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
#endif // not APSTUDIO_INVOKED
|
|
|
|
|
|