1 // CopyDialog.h 2 3 #ifndef ZIP7_INC_COPY_DIALOG_H 4 #define ZIP7_INC_COPY_DIALOG_H 5 6 #include "../../../Windows/Control/ComboBox.h" 7 #include "../../../Windows/Control/Dialog.h" 8 9 #include "CopyDialogRes.h" 10 11 const int kCopyDialog_NumInfoLines = 11; 12 13 class CCopyDialog: public NWindows::NControl::CModalDialog 14 { 15 NWindows::NControl::CComboBox _path; 16 virtual void OnOK() Z7_override; 17 virtual bool OnInit() Z7_override; 18 virtual bool OnSize(WPARAM wParam, int xSize, int ySize) Z7_override; 19 virtual bool OnButtonClicked(unsigned buttonID, HWND buttonHWND) Z7_override; 20 void OnButtonSetPath(); 21 public: 22 UString Title; 23 UString Static; 24 UString Value; 25 UString Info; 26 UStringVector Strings; 27 28 INT_PTR Create(HWND parentWindow = NULL) { return CModalDialog::Create(IDD_COPY, parentWindow); } 29 }; 30 31 #endif 32