mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-08 14:07:00 -06:00
3.13
This commit is contained in:
41
Windows/Control/PropertyPage.h
Executable file
41
Windows/Control/PropertyPage.h
Executable file
@@ -0,0 +1,41 @@
|
||||
// Windows/Control/PropertyPage.h
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef __WINDOWS_CONTROL_PROPERTYPAGE_H
|
||||
#define __WINDOWS_CONTROL_PROPERTYPAGE_H
|
||||
|
||||
#include "Windows/Control/Dialog.h"
|
||||
#include "Windows/Defs.h"
|
||||
|
||||
namespace NWindows {
|
||||
namespace NControl {
|
||||
|
||||
BOOL APIENTRY ProperyPageProcedure(HWND dialogHWND, UINT message, UINT wParam, LONG lParam);
|
||||
|
||||
class CPropertyPage: public CDialog
|
||||
{
|
||||
public:
|
||||
CPropertyPage(HWND window = NULL): CDialog(window){};
|
||||
|
||||
void Changed() { PropSheet_Changed(GetParent(), HWND(*this)); }
|
||||
void UnChanged() { PropSheet_UnChanged(GetParent(), HWND(*this)); }
|
||||
|
||||
virtual bool OnNotify(UINT controlID, LPNMHDR lParam);
|
||||
|
||||
virtual bool OnKillActive() { return false; } // false = OK
|
||||
virtual bool OnKillActive(const PSHNOTIFY *aPSHNOTIFY) { return OnKillActive(); }
|
||||
virtual LONG OnSetActive() { return false; } // false = OK
|
||||
virtual LONG OnSetActive(const PSHNOTIFY *aPSHNOTIFY) { return OnKillActive(); }
|
||||
virtual LONG OnApply() { return PSNRET_NOERROR; }
|
||||
virtual LONG OnApply(const PSHNOTIFY *aPSHNOTIFY) { return OnApply(); }
|
||||
virtual void OnNotifyHelp() { }
|
||||
virtual void OnNotifyHelp(const PSHNOTIFY *aPSHNOTIFY) { OnNotifyHelp(); }
|
||||
virtual void OnReset() { }
|
||||
virtual void OnReset(const PSHNOTIFY *aPSHNOTIFY) { OnReset(); }
|
||||
};
|
||||
|
||||
|
||||
}}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user