p7zip-rar/CPP/7zip/UI/FileManager/SplitDialog.h
2017-10-11 12:40:22 +02:00

29 lines
734 B
C++

// SplitDialog.h
#ifndef __SPLIT_DIALOG_H
#define __SPLIT_DIALOG_H
#include "../../../Windows/Control/Dialog.h"
#include "../../../Windows/Control/ComboBox.h"
#include "SplitDialogRes.h"
class CSplitDialog: public NWindows::NControl::CModalDialog
{
NWindows::NControl::CComboBox _pathCombo;
NWindows::NControl::CComboBox _volumeCombo;
virtual void OnOK();
virtual bool OnInit();
virtual bool OnSize(WPARAM wParam, int xSize, int ySize);
virtual bool OnButtonClicked(int buttonID, HWND buttonHWND);
void OnButtonSetPath();
public:
UString FilePath;
UString Path;
CRecordVector<UInt64> VolumeSizes;
INT_PTR Create(HWND parentWindow = 0)
{ return CModalDialog::Create(IDD_SPLIT, parentWindow); }
};
#endif