-
Notifications
You must be signed in to change notification settings - Fork 9
/
CreateProgressDialog.h
42 lines (33 loc) · 964 Bytes
/
CreateProgressDialog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#pragma once
#include "afxwin.h"
#include "IsoCreator.h"
#include "createthread.h"
#include "LogWindow.h"
#include "resource.h"
#include "afxcmn.h"
class CCreateProgressDialog : public CDialog
{
DECLARE_DYNAMIC(CCreateProgressDialog)
public:
CCreateProgressDialog(CWnd* pParent = nullptr);
~CCreateProgressDialog() override;
enum { IDD = IDD_CREATPROGRESS };
protected:
void DoDataExchange(CDataExchange* pDX) override;
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedOk();
void CreateIso(LPCSTR ImgFileName, LPCSTR VolumeLabel, CListCtrl* List, CDirStructure* Dir, CLogWindow* LogWnd);
protected:
CCreateThread m_Thread;
public:
BOOL OnInitDialog() override;
CString m_Message;
CButton m_CancelButton;
afx_msg void OnBnClickedCancel();
CProgressCtrl m_Progress;
CString m_Percent;
afx_msg void OnWindowClose();
afx_msg void OnBnClickedLog();
afx_msg void OnUpdateDialog();
};