65.9K
CodeProject is changing. Read more.
Home

CIconDialog - Icon Selection Dialog

starIconstarIconstarIconstarIcon
emptyStarIcon
starIcon

4.68/5 (5 votes)

Mar 4, 2000

viewsIcon

95752

downloadIcon

1271

A Freeware MFC dialog class to select an icon

Sample Image - CIconDialog.gif

Introduction

This class provides the same functionality as the dialog Windows Explorer uses to change the icon for a shortcut. The actual appearance of the dialog is based on the new style for this dialog as used in Internet Explorer 4. The main difference between the standard Windows "Choose Icon" dialog and the new style is that a larger list box is used to display the available icons. When displayed, it looks like the image above.

The source zip file contains the CIconDialog source code and also includes a simple MFC dialog based demonstration application.

Please send any comments or bug reports to me in the comments section below. For any updates to this article, check my site here.

History

  • 4th March, 2000: Initial version

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.