Welcome to CIconDialog, A freeware MFC dialog class to select an icon. This is
based on the dialog that appears when you choose to change the icon for a
shortcut in the Windows 95 / NT 4 shell. The actual appearance of the dialog is
based on the new look dialog in IE4 PP2 which uses a larger list box to display
the icons. Have a look on my web site or run the supplied sample to see what it
Included is a simple dialog based application which shows how to use it. The
class would be used in your application as follows:
if (dlg.DoModal() == IDOK)
The variables m_sFilename and m_nIconIndex would be managed by your application.
To use CIconDialog in your project simply include icondlg.cpp, the 5 string
resources and the dialog resource IDD_CHOOSE_ICON from the test application in
your application. Then just #include "icondlg.h" in which ever class needs to
CONTACTING THE AUTHOR
25th July 1997
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.
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
Microsoft bets on Windows XP disaster