summaryrefslogtreecommitdiff
path: root/NSCmpts/BackupSourceProp.cpp
diff options
context:
space:
mode:
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;
+}
+