summaryrefslogtreecommitdiff
path: root/NSCmpts/EncryptSourceProp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'NSCmpts/EncryptSourceProp.cpp')
-rw-r--r--NSCmpts/EncryptSourceProp.cpp28
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;
+}