1 // SettingsPage.h 2 3 #ifndef ZIP7_INC_SETTINGS_PAGE_H 4 #define ZIP7_INC_SETTINGS_PAGE_H 5 6 #include "../../../Windows/Control/PropertyPage.h" 7 // #include "../../../Windows/Control/ComboBox.h" 8 #include "../../../Windows/Control/Edit.h" 9 10 class CSettingsPage: public NWindows::NControl::CPropertyPage 11 { 12 bool _wasChanged; 13 bool _largePages_wasChanged; 14 bool _memx_wasChanged; 15 bool _initMode; 16 /* 17 bool _wasChanged_MemLimit; 18 NWindows::NControl::CComboBox _memCombo; 19 UStringVector _memLimitStrings; 20 UInt64 _ramSize; 21 UInt64 _ramSize_Defined; 22 23 int AddMemComboItem(UInt64 size, UInt64 percents = 0, bool isDefault = false); 24 */ 25 26 // void EnableSubItems(); 27 bool OnCommand(unsigned code, unsigned itemID, LPARAM param) Z7_override; 28 virtual bool OnButtonClicked(unsigned buttonID, HWND buttonHWND) Z7_override; 29 virtual bool OnInit() Z7_override; 30 virtual void OnNotifyHelp() Z7_override; 31 virtual LONG OnApply() Z7_override; 32 33 void EnableSpin(bool enable); 34 public: 35 }; 36 37 #endif 38