// 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; }