-
Notifications
You must be signed in to change notification settings - Fork 9
/
MasteringPage2.h
45 lines (38 loc) · 1.19 KB
/
MasteringPage2.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
#pragma once
#include "afxcmn.h"
#include "dirstructure.h"
class CMasteringPage2 : public CDialog
{
DECLARE_DYNAMIC(CMasteringPage2)
public:
CMasteringPage2(CWnd* pParent = nullptr);
~CMasteringPage2() override;
enum { IDD = IDD_MASTERING_2 };
protected:
void DoDataExchange(CDataExchange* pDX) override;
DECLARE_MESSAGE_MAP()
public:
CWnd* m_MainDialog;
CWnd* m_Page1;
CListCtrl m_List;
CTreeCtrl m_Tree;
CString m_VolumeLabel;
void SetLanguage(void);
BOOL OnInitDialog() override;
CDirStructure* m_Dir;
protected:
CMenu m_Menu;
CImageList m_TreeImageNormal;
CImageList m_ListImage;
public:
afx_msg void OnLvnKeydownList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnNMRclickList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnNMDblclkList(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnTvnSelchangedTree(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnLvnEndlabeleditList(NMHDR* pNMHDR, LRESULT* pResult);
bool AddFile(LPCSTR FileName);
CDirStructure* AddFolder(LPCSTR FolderName);
void AddFileRec(LPCSTR PathName);
afx_msg void OnDropFiles(HDROP hDropInfo);
void DeleteSelectedItems(void);
};