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/EncryptSourceProp.cpp | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 NSCmpts/EncryptSourceProp.cpp (limited to 'NSCmpts/EncryptSourceProp.cpp') diff --git a/NSCmpts/EncryptSourceProp.cpp b/NSCmpts/EncryptSourceProp.cpp new file mode 100644 index 0000000..17b47f7 --- /dev/null +++ b/NSCmpts/EncryptSourceProp.cpp @@ -0,0 +1,28 @@ +// EncryptSourceProp.cpp : Implementation of CEncryptSourceProp +#include "stdafx.h" +#include "NSCmpts.h" +#include "EncryptSourceProp.h" + +///////////////////////////////////////////////////////////////////////////// +// CEncryptSourceProp + +LRESULT CEncryptSourceProp::OnInitDialog(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled) +{ + // Let it initialize + CSourceProp::OnInitDialog(uMsg, wParam, lParam, bHandled); + + // Load the File List + m_Data.Initialize(m_nObjects, m_ppUnk); + + if(m_Data.IsInitialized()) + m_Data.GetStringSet(NS_ENCRYPT_REG_FILES, m_aPaths); + + // Set Icon and Caption for Xpy + CStatic icon = GetDlgItem(IDC_ICO); + icon.SetIcon(::LoadIcon(_Module.m_hInstResource, MAKEINTRESOURCE(IDI_WXPY))); + SetDlgItemText(IDC_MESSAGE, _T("Encrypt these files or folders: ")); + + UpdateData(false); + + return TRUE; +} -- cgit v1.2.3