#include <Dlg_MakePortableVer.h>
Public Types | |
| enum | { IDD = IDD_MAKE_PORTABLE_VER } |
Public Member Functions | |
| CDlg_MakePortableVer (CWnd *pParent=NULL) | |
Public Attributes | |
| CProgressCtrl | m_wndProgress |
| CButton | m_btnChooseFolder |
Protected Member Functions | |
| virtual void | DoDataExchange (CDataExchange *pDX) |
| void | CopyDirTree (CString SrcPath, CString DstPath, int &nCurIndex, int nTotalCount) |
| void | ApplyLanguage () |
| afx_msg void | OnChoosefolder () |
| virtual void | OnOK () |
| virtual BOOL | OnInitDialog () |
| virtual void | OnCancel () |
Static Protected Member Functions | |
| static DWORD WINAPI | _threadCreatePortableVer (LPVOID lp) |
Protected Attributes | |
| bool | m_bNeedStop |
| bool | m_bThreadRunning |
Definition at line 13 of file Dlg_MakePortableVer.h.
| anonymous enum |
| CDlg_MakePortableVer::CDlg_MakePortableVer | ( | CWnd * | pParent = NULL |
) |
Definition at line 18 of file Dlg_MakePortableVer.cpp.
References m_bNeedStop, and m_bThreadRunning.
| void CDlg_MakePortableVer::DoDataExchange | ( | CDataExchange * | pDX | ) | [protected, virtual] |
Definition at line 25 of file Dlg_MakePortableVer.cpp.
References IDC_CHOOSEFOLDER, IDC_PROGRESS, m_btnChooseFolder, and m_wndProgress.
| void CDlg_MakePortableVer::CopyDirTree | ( | CString | SrcPath, | |
| CString | DstPath, | |||
| int & | nCurIndex, | |||
| int | nTotalCount | |||
| ) | [protected] |
Definition at line 131 of file Dlg_MakePortableVer.cpp.
References BOOL, FALSE, m_bNeedStop, m_wndProgress, and NULL.
Referenced by _threadCreatePortableVer().
| DWORD WINAPI CDlg_MakePortableVer::_threadCreatePortableVer | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 97 of file Dlg_MakePortableVer.cpp.
References CopyDirTree(), FALSE, fsBuildPathToFile(), IDC_CHOOSEFOLDER, IDC_OUTFOLDER, m_bThreadRunning, and m_wndProgress.
Referenced by OnOK().
| void CDlg_MakePortableVer::ApplyLanguage | ( | ) | [protected] |
Definition at line 87 of file Dlg_MakePortableVer.cpp.
References _LngMgr, fsMFCLangMgr::ApplyLanguage(), IDC__PVDESC, L_CANCEL, L_MAKE_PORTABLE_VER, and L_PORTABLE_VER_DESC.
Referenced by OnInitDialog().
| void CDlg_MakePortableVer::OnChoosefolder | ( | ) | [protected] |
Definition at line 40 of file Dlg_MakePortableVer.cpp.
References CFolderBrowser::Create(), CFolderBrowser::GetPath(), IDC_OUTFOLDER, L_CHOOSEOUTFOLDER, LS, and NULL.
| void CDlg_MakePortableVer::OnOK | ( | ) | [protected, virtual] |
Definition at line 56 of file Dlg_MakePortableVer.cpp.
References _threadCreatePortableVer(), IDC_OUTFOLDER, L_ENTERFLRNAME, L_INPERR, LS, m_bThreadRunning, and NULL.
| BOOL CDlg_MakePortableVer::OnInitDialog | ( | ) | [protected, virtual] |
Definition at line 74 of file Dlg_MakePortableVer.cpp.
References ApplyLanguage(), IDI_CHOOSEFOLDER, m_btnChooseFolder, m_wndProgress, SICO, and TRUE.
| void CDlg_MakePortableVer::OnCancel | ( | ) | [protected, virtual] |
Definition at line 176 of file Dlg_MakePortableVer.cpp.
References FALSE, m_bNeedStop, and m_bThreadRunning.
| CProgressCtrl CDlg_MakePortableVer::m_wndProgress |
Definition at line 21 of file Dlg_MakePortableVer.h.
Referenced by _threadCreatePortableVer(), CopyDirTree(), DoDataExchange(), and OnInitDialog().
Definition at line 22 of file Dlg_MakePortableVer.h.
Referenced by DoDataExchange(), and OnInitDialog().
bool CDlg_MakePortableVer::m_bNeedStop [protected] |
Definition at line 31 of file Dlg_MakePortableVer.h.
Referenced by CDlg_MakePortableVer(), CopyDirTree(), and OnCancel().
bool CDlg_MakePortableVer::m_bThreadRunning [protected] |
Definition at line 32 of file Dlg_MakePortableVer.h.
Referenced by _threadCreatePortableVer(), CDlg_MakePortableVer(), OnCancel(), and OnOK().
1.5.6