Click here to Skip to main content
15,884,176 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 255K   7.4K   111  
Yet another password manager.
/********************************************************************
	Created:	20/3/2004, 20:44
	File name: 	D:\Projects\Exile\statichyperlinkex.h
	File path:	D:\Projects\Exile
	File base:	statichyperlinkex
	File ext:	h
	Author:		Gogolev Anton
*********************************************************************/


#if !defined(AFX_STATICHYPERLINKEX_H__B0D3F22D_8CD0_4427_B9A4_E419F7F68591__INCLUDED_)
#define AFX_STATICHYPERLINKEX_H__B0D3F22D_8CD0_4427_B9A4_E419F7F68591__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// statichyperlinkex.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CStaticHyperlinkEx window

// Message to notify parent
const UINT SHLE_RBUTTONDOWN = WM_USER + 200;

class CStaticHyperlinkEx : public CStatic
{
// Construction
public:
	CStaticHyperlinkEx();
	void SetTextColor(COLORREF crText) { m_crText = crText; }
	COLORREF GetTextColor() { return m_crText; }

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CStaticHyperlinkEx)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CStaticHyperlinkEx();

	// Generated message map functions
protected:
	//{{AFX_MSG(CStaticHyperlinkEx)
	afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
	afx_msg UINT OnNcHitTest(CPoint point);
	afx_msg BOOL OnSetCursor(CWnd *pWnd, UINT nHitTest, UINT uMessage);
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
private:
	HCURSOR m_hCursor;
	COLORREF m_crText;
	CFont m_fnFont;
};

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_STATICHYPERLINKEX_H__B0D3F22D_8CD0_4427_B9A4_E419F7F68591__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