-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCDMDlg.h
102 lines (89 loc) · 2.57 KB
/
CDMDlg.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
#pragma once
#include "aspi.h"
#include "afxwin.h"
#include "tocwindow.h"
#include "cdcontroller.h"
#include "logwindow.h"
#include "afxcmn.h"
#include "ButtonEx.h"
#include "DeviceList.h"
class CCDMDlg : public CDialog
{
public:
CCDMDlg(CWnd* pParent = nullptr);
enum { IDD = IDD_MAIN_DIALOG };
protected:
void DoDataExchange(CDataExchange* pDX) override;
protected:
HICON m_hIcon;
BOOL OnInitDialog() override;
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedOk();
afx_msg void OnExit();
afx_msg void OnViewVersion();
afx_msg void OnVisitRizonesoftHome();
afx_msg void OnBnClickedCancel();
afx_msg void OnClose();
// CComboBox m_DriveList;
CDeviceList m_DriveList;
void InitializeControlls(void);
protected:
CTocWindow* m_TocWnd;
CLogWindow* m_LogWnd;
public:
afx_msg void OnViewToc();
// afx_msg void OnUpdateViewToc(CCmdUI *pCmdUI);
afx_msg void OnCbnSelchangeDrivelist();
protected:
CCDController m_CD;
CBitmap m_CreateImageBmp;
CBitmap m_WriteImageBmp;
CBitmap m_DuplicateBmp;
CBitmap m_ReadTrackBmp;
CBitmap m_MasteringBmp;
CBitmap m_SubQBmp;
CBitmap m_RecognizeBmp;
CBitmap m_ExitBmp;
public:
afx_msg void OnToolTocfromsession();
afx_msg void OnToolCreateimage();
afx_msg void OnViewLog();
afx_msg void OnToolReadtrack();
afx_msg void OnCbnSelchangeSessionlist();
afx_msg void OnGeneralSetting();
afx_msg void OnToolSubq();
afx_msg void OnToolMastering();
afx_msg void OnToolMsf();
afx_msg void OnCdWriteImage();
afx_msg void OnCdErase();
afx_msg void OnCdEraseFast();
afx_msg void OnCdRecognize();
afx_msg void OnCdDuplicate();
afx_msg void OnDriveCapability();
afx_msg void OnLanguage();
CButtonEx m_CreateImageButton;
CButtonEx m_WriteImageButton;
CButtonEx m_DuplicateButton;
CButtonEx m_ReadTrackButton;
CButtonEx m_MasteringButton;
CButtonEx m_SubQButton;
CButtonEx m_RecognizeButton;
CButtonEx m_ExitButton;
void InitializeButtons(void);
CString m_Message;
void ViewMessage(LPCSTR Message);
protected:
void NotifyButton(void);
public:
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
afx_msg void OnMove(int x, int y);
void SetLanguage(void);
// afx_msg void OnBnClickedChangesize();
afx_msg void OnHelpHelp();
void WinHelp(DWORD dwData, UINT nCmd = HELP_CONTEXT) override;
afx_msg void OnBnClickedCdRecognize();
};