mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-14 10:11:38 -06:00
apply James Hoo 's other original mod
This commit is contained in:
@@ -18,7 +18,7 @@ void CAboutEasy7ZipDialog::OnHelp()
|
||||
ShowHelpWindow(kHelpTopic);
|
||||
}
|
||||
|
||||
bool CAboutEasy7ZipDialog::OnButtonClicked(int buttonID, HWND buttonHWND)
|
||||
bool CAboutEasy7ZipDialog::OnButtonClicked(unsigned buttonID, HWND buttonHWND)
|
||||
{
|
||||
LPCTSTR url;
|
||||
switch(buttonID)
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
class CAboutEasy7ZipDialog: public NWindows::NControl::CModalDialog
|
||||
{
|
||||
public:
|
||||
virtual bool OnInit();
|
||||
virtual void OnHelp();
|
||||
virtual bool OnButtonClicked(int buttonID, HWND buttonHWND);
|
||||
virtual bool OnInit() Z7_override;
|
||||
virtual void OnHelp() Z7_override;
|
||||
virtual bool OnButtonClicked(unsigned buttonID, HWND buttonHWND) Z7_override;
|
||||
INT_PTR Create(HWND wndParent = 0) { return CModalDialog::Create(IDD_ABOUT_EASY_7ZIP, wndParent); }
|
||||
};
|
||||
|
||||
|
||||
@@ -57,6 +57,7 @@ FM_OBJS = \
|
||||
$O\UpdateCallback100.obj \
|
||||
$O\ViewSettings.obj \
|
||||
$O\AboutDialog.obj \
|
||||
$O\AboutEasy7ZipDialog.obj \
|
||||
$O\ComboDialog.obj \
|
||||
$O\CopyDialog.obj \
|
||||
$O\EditDialog.obj \
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include "../Common/CompressCall.h"
|
||||
|
||||
#include "AboutDialog.h"
|
||||
#include "AboutEasy7ZipDialog.h"
|
||||
#include "App.h"
|
||||
#include "HelpUtils.h"
|
||||
#include "LangUtils.h"
|
||||
@@ -818,6 +819,12 @@ bool OnMenuCommand(HWND hWnd, unsigned id)
|
||||
dialog.Create(hWnd);
|
||||
break;
|
||||
}
|
||||
case IDM_ABOUT_EASY_7ZIP:
|
||||
{
|
||||
CAboutEasy7ZipDialog dialog;
|
||||
dialog.Create(hWnd);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
if (id >= kOpenBookmarkMenuID && id <= kOpenBookmarkMenuID + 9)
|
||||
|
||||
@@ -886,7 +886,7 @@ public:
|
||||
void RefreshTitle(bool always = false) { _panelCallback->RefreshTitle(always); }
|
||||
void RefreshTitleAlways() { RefreshTitle(true); }
|
||||
|
||||
UString GetItemsInfoString(const CRecordVector<UInt32> &indices);
|
||||
UString GetItemsInfoString(const CRecordVector<UInt32> &indices, int *soleDir);
|
||||
};
|
||||
|
||||
class CMyBuffer
|
||||
|
||||
@@ -109,6 +109,7 @@
|
||||
|
||||
#define IDM_HELP_CONTENTS 960
|
||||
#define IDM_ABOUT 961
|
||||
#define IDM_ABOUT_EASY_7ZIP 962
|
||||
|
||||
#define IDS_OPTIONS 2100
|
||||
|
||||
|
||||
@@ -140,6 +140,7 @@ BEGIN
|
||||
#endif
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&About 7-Zip...", IDM_ABOUT
|
||||
MENUITEM "&About Easy 7-Zip...", IDM_ABOUT_EASY_7ZIP
|
||||
END
|
||||
END
|
||||
|
||||
@@ -253,6 +254,7 @@ BEGIN
|
||||
END
|
||||
|
||||
#include "AboutDialog.rc"
|
||||
#include "AboutEasy7ZipDialog.rc"
|
||||
#include "BrowseDialog.rc"
|
||||
#include "ComboDialog.rc"
|
||||
#include "CopyDialog.rc"
|
||||
|
||||
Reference in New Issue
Block a user