aboutsummaryrefslogtreecommitdiff
path: root/CPP/Windows/Control/PropertyPage.h
diff options
context:
space:
mode:
authorIgor Pavlov <87184205+ip7z@users.noreply.github.com>2023-06-21 00:00:00 +0000
committerIgor Pavlov <87184205+ip7z@users.noreply.github.com>2023-12-17 14:59:19 +0500
commit5b39dc76f1bc82f941d5c800ab9f34407a06b53a (patch)
treefe5e17420300b715021a76328444088d32047963 /CPP/Windows/Control/PropertyPage.h
parent93be7d4abfd4233228f58ee1fbbcd76d91be66a4 (diff)
download7zip-23.01.tar.gz
7zip-23.01.tar.bz2
7zip-23.01.zip
23.0123.01
Diffstat (limited to '')
-rw-r--r--CPP/Windows/Control/PropertyPage.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/CPP/Windows/Control/PropertyPage.h b/CPP/Windows/Control/PropertyPage.h
index b68fd8f..264a5d2 100644
--- a/CPP/Windows/Control/PropertyPage.h
+++ b/CPP/Windows/Control/PropertyPage.h
@@ -1,11 +1,11 @@
1// Windows/Control/PropertyPage.h 1// Windows/Control/PropertyPage.h
2 2
3#ifndef __WINDOWS_CONTROL_PROPERTYPAGE_H 3#ifndef ZIP7_INC_WINDOWS_CONTROL_PROPERTYPAGE_H
4#define __WINDOWS_CONTROL_PROPERTYPAGE_H 4#define ZIP7_INC_WINDOWS_CONTROL_PROPERTYPAGE_H
5 5
6#include "../../Common/MyWindows.h" 6#include "../../Common/MyWindows.h"
7 7
8#include <PrSht.h> 8#include <prsht.h>
9 9
10#include "Dialog.h" 10#include "Dialog.h"
11 11
@@ -17,23 +17,23 @@ INT_PTR APIENTRY ProperyPageProcedure(HWND dialogHWND, UINT message, WPARAM wPar
17class CPropertyPage: public CDialog 17class CPropertyPage: public CDialog
18{ 18{
19public: 19public:
20 CPropertyPage(HWND window = NULL): CDialog(window){}; 20 CPropertyPage(HWND window = NULL): CDialog(window) {}
21 21
22 void Changed() { PropSheet_Changed(GetParent(), (HWND)*this); } 22 void Changed() { PropSheet_Changed(GetParent(), (HWND)*this); }
23 void UnChanged() { PropSheet_UnChanged(GetParent(), (HWND)*this); } 23 void UnChanged() { PropSheet_UnChanged(GetParent(), (HWND)*this); }
24 24
25 virtual bool OnNotify(UINT controlID, LPNMHDR lParam); 25 virtual bool OnNotify(UINT controlID, LPNMHDR lParam) Z7_override;
26 26
27 virtual bool OnKillActive() { return false; } // false = OK 27 virtual bool OnKillActive() { return false; } // false = OK
28 virtual bool OnKillActive(const PSHNOTIFY *) { return OnKillActive(); } 28 virtual bool OnKillActive2(const PSHNOTIFY *) { return OnKillActive(); }
29 virtual LONG OnSetActive() { return false; } // false = OK 29 virtual LONG OnSetActive() { return false; } // false = OK
30 virtual LONG OnSetActive(const PSHNOTIFY *) { return OnSetActive(); } 30 virtual LONG OnSetActive2(const PSHNOTIFY *) { return OnSetActive(); }
31 virtual LONG OnApply() { return PSNRET_NOERROR; } 31 virtual LONG OnApply() { return PSNRET_NOERROR; }
32 virtual LONG OnApply(const PSHNOTIFY *) { return OnApply(); } 32 virtual LONG OnApply2(const PSHNOTIFY *) { return OnApply(); }
33 virtual void OnNotifyHelp() {} 33 virtual void OnNotifyHelp() {}
34 virtual void OnNotifyHelp(const PSHNOTIFY *) { OnNotifyHelp(); } 34 virtual void OnNotifyHelp2(const PSHNOTIFY *) { OnNotifyHelp(); }
35 virtual void OnReset() {} 35 virtual void OnReset() {}
36 virtual void OnReset(const PSHNOTIFY *) { OnReset(); } 36 virtual void OnReset2(const PSHNOTIFY *) { OnReset(); }
37}; 37};
38 38
39struct CPageInfo 39struct CPageInfo