Click here to Skip to main content
15,884,836 members
Articles / Desktop Programming / MFC

Exile 1.8 - The Password Manager

Rate me:
Please Sign up or sign in to vote.
4.57/5 (51 votes)
6 Mar 20058 min read 255.1K   7.4K   111  
Yet another password manager.
#if !defined(AFX_ADVANCEDDIALOG_H__1E703473_18B3_4AFE_AE5E_A9F148F8211B__INCLUDED_)
#define AFX_ADVANCEDDIALOG_H__1E703473_18B3_4AFE_AE5E_A9F148F8211B__INCLUDED_

#include "GroupedControls.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// AdvancedDialog.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CAdvancedDialog dialog

class CAdvancedDialog : public CDialog
{
// Construction
public:
	CAdvancedDialog(CWnd* pParent = NULL);   // standard constructor
	~CAdvancedDialog();

// Dialog Data
	//{{AFX_DATA(CAdvancedDialog)
	enum { IDD = IDD_ADVANCED_DIALOG };
	CStatic	m_ctrlFindWindowTitle;
	CStatic	m_ctrlFindPassword;
	CStatic	m_ctrlFindLogin;
	BOOL	m_bEnable;
	int		m_nLogin;
	int		m_nPassword;
	CString	m_strWindowTitle;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAdvancedDialog)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CAdvancedDialog)
	virtual BOOL OnInitDialog();
	afx_msg void OnEnable();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CString GetWindowTitle(HWND hWnd);
	HICON m_hFound;
	HICON m_hFind;
	HCURSOR m_hSearch, m_hOld;
	CGroupedControls m_gcControls;
	enum SEARCH { NOTHING, WINDOWTITLE, LOGIN, PASSWORD }; // What we're looking for
	BOOL m_bSearch;
	SEARCH m_nSearch;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ADVANCEDDIALOG_H__1E703473_18B3_4AFE_AE5E_A9F148F8211B__INCLUDED_)

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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Russian Federation Russian Federation
I'll think about it later on...

Comments and Discussions