diff options
author | Stef Walter <stef@thewalter.net> | 2003-09-17 19:07:23 +0000 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2003-09-17 19:07:23 +0000 |
commit | 3f95d417d9e623ac0c74df8ef11d7a01846392dd (patch) | |
tree | 45ec73f2dc07eafd7f41a6f62a8cdfbaa279469f /NSCmpts/BackupSourceProp.cpp |
Diffstat (limited to 'NSCmpts/BackupSourceProp.cpp')
-rw-r--r-- | NSCmpts/BackupSourceProp.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/NSCmpts/BackupSourceProp.cpp b/NSCmpts/BackupSourceProp.cpp new file mode 100644 index 0000000..a311ffb --- /dev/null +++ b/NSCmpts/BackupSourceProp.cpp @@ -0,0 +1,27 @@ +// BackupSourceProp.cpp : Implementation of CBackupSourceProp +#include "stdafx.h" +#include "NSCmpts.h" +#include "BackupSourceProp.h" + +///////////////////////////////////////////////////////////////////////////// +// CBackupSourceProp + +LRESULT CBackupSourceProp::OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled) +{ + CSourceProp::OnInitDialog(uMsg, wParam, lParam, bHandled); + + // Let it choose an object for data + m_Data.Initialize(m_nObjects, m_ppUnk); + + // Load the File List + if(m_Data.IsInitialized()) + m_Data.GetStringSet(NS_BACKUP_REG_SOURCE, m_aPaths); + + UpdateData(false); + + // Change Caption Text + SetDlgItemText(IDC_MESSAGE, _T("Backup these files or folders: ")); + + return TRUE; +} + |