Click here to Skip to main content
11,483,586 members (67,926 online)
Click here to Skip to main content
Add your own
alternative version

CIconDialog - Icon Selection Dialog

, 3 Mar 2000 81.8K 1.1K 21
A Freeware MFC dialog class to select an icon.
class CIconDlgTestDlg : public CDialog
{
public:
	CIconDlgTestDlg(CWnd* pParent = NULL);	// standard constructor

	//{{AFX_DATA(CIconDlgTestDlg)
	enum { IDD = IDD_ICONDLGTEST };
	//}}AFX_DATA

	//{{AFX_VIRTUAL(CIconDlgTestDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

protected:
	HICON m_hIcon;

	//{{AFX_MSG(CIconDlgTestDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnShow();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

  CString m_sFilename;
  int m_nIconIndex;
  BOOL m_bRetreivedIcon;
};

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

Share

About the Author

PJ Naughter

United States United States
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150520.1 | Last Updated 4 Mar 2000
Article Copyright 2000 by PJ Naughter
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid