1 // FoldersPage.h 2 3 #ifndef ZIP7_INC_FOLDERS_PAGE_H 4 #define ZIP7_INC_FOLDERS_PAGE_H 5 6 #include "../../../Windows/Control/PropertyPage.h" 7 8 #include "../Common/ZipRegistry.h" 9 10 class CFoldersPage : public NWindows::NControl::CPropertyPage 11 { 12 NWorkDir::CInfo m_WorkDirInfo; 13 NWindows::NControl::CDialogChildControl m_WorkPath; 14 15 bool _needSave; 16 bool _initMode; 17 18 void MyEnableControls(); 19 void ModifiedEvent(); 20 21 void OnFoldersWorkButtonPath(); 22 int GetWorkMode() const; 23 void GetWorkDir(NWorkDir::CInfo &workDirInfo); 24 // bool WasChanged(); 25 virtual bool OnInit() Z7_override; 26 virtual bool OnCommand(unsigned code, unsigned itemID, LPARAM lParam) Z7_override; 27 virtual void OnNotifyHelp() Z7_override; 28 virtual LONG OnApply() Z7_override; 29 virtual bool OnButtonClicked(unsigned buttonID, HWND buttonHWND) Z7_override; 30 }; 31 32 #endif 33