Click here to Skip to main content
15,867,325 members
Articles / Desktop Programming / MFC

CIconDialog - Icon Selection Dialog

Rate me:
Please Sign up or sign in to vote.
4.68/5 (5 votes)
3 Mar 2000 95K   1.3K   23  
A Freeware MFC dialog class to select an icon
#include "stdafx.h"
#include "IconDlgTest.h"
#include "IconDlgTestDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

BEGIN_MESSAGE_MAP(CIconDlgTestApp, CWinApp)
	//{{AFX_MSG_MAP(CIconDlgTestApp)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

CIconDlgTestApp::CIconDlgTestApp()
{
}

CIconDlgTestApp theApp;

BOOL CIconDlgTestApp::InitInstance()
{
	Enable3dControls();

	CIconDlgTestDlg dlg;
	m_pMainWnd = &dlg;
	int nResponse = dlg.DoModal();

	return FALSE;
}


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.


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions