⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 speedcddlg.h

📁 虚拟光驱程序
💻 H
字号:
// DialogDemoDlg.h : header file
//

#if !defined(AFX_DIALOGDEMODLG_H__A98859B2_4DBF_465D_A27C_19344315ABFC__INCLUDED_)
#define AFX_DIALOGDEMODLG_H__A98859B2_4DBF_465D_A27C_19344315ABFC__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

//#include "ListBoxEx\ListBoxEx.h"
//#include "ListBoxEx\SHBrowseDlg.h"
#include "IniFile.h"
//#include "coolbar\sttbar.h"
#include "DlgProgress.h"
/*
class CMyListBoxEx: public CListBoxEx
{
public:

   CMyListBoxEx()
   {
      SetEditStyle( LBEX_EDITBUTTON );
   };

   virtual void OnBrowseButton( int iItem )
   {
      iItem;
      CSHBrowseDlg dlgBrowse;
      if ( dlgBrowse.DoModal() ) SetEditText( dlgBrowse.GetFullPath() );
   };
   
};
*/

/////////////////////////////////////////////////////////////////////////////
// CDialogDemoDlg dialog

class CDialogDemoDlg : public CDialog
{
// Construction
public:
	CDialogDemoDlg(CWnd* pParent = NULL);	// standard constructor
 //   CListBoxExBuddy m_ListBoxExBuddy;
    CIniFile inifile;
	int StartCopyThread();
	BOOL SaveHistory(char disk, CString file);

    CString m_sNewPath;
	BOOL	m_bIgnoreErrors;
	BYTE cd;
	//int device_Num;

// Dialog Data
	//{{AFX_DATA(CDialogDemoDlg)
	enum { IDD = IDD_DIALOGDEMO_DIALOG };
	//CMyListBoxEx	m_ctlList1;
	CTreeCtrl	m_ctlTree1;	
	CListCtrl	m_ctlList1;
    CToolBar    m_hotToolBar;
    //CToolBar    m_wndtoolbar;
	//CStTbar    m_tbar2;

	
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDialogDemoDlg)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;
	CMenu m_Menu;
	afx_msg void OnContextMenu(CWnd*, CPoint point);

	// Generated message map functions
	//{{AFX_MSG(CDialogDemoDlg)
	afx_msg BOOL OnToolTipText(UINT, NMHDR* pNMHDR, LRESULT* pResult);
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnLoadskin();
	afx_msg void OnAppAbout();
	afx_msg void OnToolsCreateiso();
	afx_msg void OnToolsBin2iso();
	afx_msg void OnFILEAddVirtual();
	afx_msg void OnFileUnmount();
	afx_msg void OnRclickTree1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnRclickList1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnAddIsofile();
	afx_msg void OnRemoveIsofile();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	
    

	//}}AFX_MSG
   DECLARE_MESSAGE_MAP()
   //afx_msg BOOL OnToolTipText(UINT, NMHDR* pNMHDR, LRESULT* pResult);

   CImageList m_imgList;
   HTREEITEM m_hi;
   HTREEITEM hi1, hi2;

private:
	DlgProgress m_dlgProgress;
	CString m_sStatusString;
	BOOL SaveHistory();

};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DIALOGDEMODLG_H__A98859B2_4DBF_465D_A27C_19344315ABFC__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -