Modified resourceIDs for strings in the table

This commit is contained in:
Alekhya Kommuru
2020-01-15 13:57:05 -08:00
parent d0648d1754
commit 31a01ab227
6 changed files with 39 additions and 40 deletions

View File

@@ -4,7 +4,7 @@
#include <PowerRenameItem.h>
#include <PowerRenameManager.h>
#include <trace.h>
#include <common/common.h>
#include <common.h>
#include <Helpers.h>
#include <Settings.h>
#include "resource.h"
@@ -270,4 +270,4 @@ HRESULT __stdcall CPowerRenameMenu::EnumSubCommands(IEnumExplorerCommand** ppEnu
{
*ppEnum = nullptr;
return E_NOTIMPL;
}
}

View File

@@ -66,9 +66,7 @@ public:
static bool IsEnabled();
private:
~CPowerRenameMenu(){
delete (app_name);
}
~CPowerRenameMenu();
std::atomic<long> m_refCount = 1;
HBITMAP m_hbmpIcon = nullptr;

View File

@@ -312,4 +312,4 @@ public:
extern "C" __declspec(dllexport) PowertoyModuleIface* __cdecl powertoy_create()
{
return new PowerRenameModule();
}
}

View File

@@ -1,26 +1,28 @@
#define IDS_POWERRENAME 99
#define IDI_RENAME 100
#define IDS_SETTINGS_DESCRIPTION 101
#define IDS_SETTINGS_ICON 102
#define IDS_OVERVIEW_LINK 103
#define IDS_BOOL_PERSIST 104
#define IDS_RESTORE_SEARCH 105
#define IDS_MRU_ENABLED 106
#define IDS_ENABLE_AUTO 107
#define IDS_MAX_MRU_SIZE 108
#define IDS_MAX_ITEMS 109
#define IDS_SHOW_ICON 110
#define IDS_ICON_CONTEXT_MENU 111
#define IDS_EXTENDED_MENU 112
#define IDS_EXTENDED_MENU_INFO 113
#define IDS_POWERRENAME 801
#define IDI_RENAME 132
#define IDS_SETTINGS_DESCRIPTION 2101
#define IDS_SETTINGS_ICON 2102
#define IDS_OVERVIEW_LINK 2103
#define IDS_BOOL_PERSIST 2104
#define IDS_RESTORE_SEARCH 2105
#define IDS_MRU_ENABLED 2106
#define IDS_ENABLE_AUTO 2107
#define IDS_MAX_MRU_SIZE 2108
#define IDS_MAX_ITEMS 2109
#define IDS_SHOW_ICON 2110
#define IDS_ICON_CONTEXT_MENU 2111
#define IDS_EXTENDED_MENU 2112
#define IDS_EXTENDED_MENU_INFO 2113
// Next default values for new objects
//
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 102
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#define _APS_NEXT_RESOURCE_VALUE 102
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif