1 // EditDialog.h 2 3 #ifndef ZIP7_INC_EDIT_DIALOG_H 4 #define ZIP7_INC_EDIT_DIALOG_H 5 6 #include "../../../Windows/Control/Dialog.h" 7 #include "../../../Windows/Control/Edit.h" 8 9 #include "EditDialogRes.h" 10 11 class CEditDialog: public NWindows::NControl::CModalDialog 12 { 13 NWindows::NControl::CEdit _edit; 14 virtual bool OnInit() Z7_override; 15 virtual bool OnSize(WPARAM wParam, int xSize, int ySize) Z7_override; 16 public: 17 UString Title; 18 UString Text; 19 20 INT_PTR Create(HWND wndParent = NULL) { return CModalDialog::Create(IDD_EDIT_DLG, wndParent); } 21 CEditDialog()22 CEditDialog() {} 23 }; 24 25 #endif 26