Click here to Skip to main content
15,892,643 members
Articles / Programming Languages / C++

Windows Permission 1

Rate me:
Please Sign up or sign in to vote.
4.29/5 (4 votes)
15 Dec 2013CPOL6 min read 16.9K   240   8  
This program protects and locks every window in Windows, and encrypts any files even in large volume without any problem.
#pragma once
#include "afxwin.h"


// CEncrypt dialog

class CEncrypt : public CDialogEx
{
	DECLARE_DYNAMIC(CEncrypt)

public:
	CEncrypt(CString filepath,CString title,CString pas,CWnd* pParent = NULL);   // standard constructor
	virtual ~CEncrypt();

// Dialog Data
	enum { IDD = IDD_DIALOG4 };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnPaint();
	afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
	afx_msg void OnTimer(UINT_PTR nIDEvent);
	CStatic t1;
};

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Iran (Islamic Republic of) Iran (Islamic Republic of)
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions