From 3f95d417d9e623ac0c74df8ef11d7a01846392dd Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 17 Sep 2003 19:07:23 +0000 Subject: Initial Import --- NSCmpts/BackupSourceProp.cpp | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 NSCmpts/BackupSourceProp.cpp (limited to 'NSCmpts/BackupSourceProp.cpp') 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; +} + -- cgit v1.2.3