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/EncryptSourceProp.cpp |
Diffstat (limited to 'NSCmpts/EncryptSourceProp.cpp')
-rw-r--r-- | NSCmpts/EncryptSourceProp.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
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; +} |