summaryrefslogtreecommitdiff
path: root/NSCmpts/BackupSourceProp.cpp
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2003-09-17 19:07:23 +0000
committerStef Walter <stef@thewalter.net>2003-09-17 19:07:23 +0000
commit3f95d417d9e623ac0c74df8ef11d7a01846392dd (patch)
tree45ec73f2dc07eafd7f41a6f62a8cdfbaa279469f /NSCmpts/BackupSourceProp.cpp
Initial ImportHEADmaster
Diffstat (limited to 'NSCmpts/BackupSourceProp.cpp')
-rw-r--r--NSCmpts/BackupSourceProp.cpp27
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;
+}
+