Click here to Skip to main content
13,457,828 members
Click here to Skip to main content
Add your own
alternative version


49 bookmarked
Posted 3 Mar 2000

IconComboBox - Selecting Icons

, 3 Mar 2000
Rate this:
Please Sign up or sign in to vote.
2 Freeware MFC icon selection combo box classes
  • Download source files - 19 Kb
  • Introduction

    An example of what the classes look like is shown below:

    Sample Image


    • The classes are derived from CComboBox and as such derive most of their behavior from these base classes i.e. they do not use any low level GDI code which may have lots of bugs in it or may not work on the next release of Windows.
    • The classes are fully Unicode compliant and include Unicode built options in the workspace file for the demo app.
    • All code compiles cleanly at warning level 4.

    The source zip file contains the IconComboBox source code and a simple test program to exercise the class.


    V1.0 (25th August 1998)
    • Initial public release.

    V1.01 (12th September 1998)

    • Removed some files from the workspace which were not being used.
    • Updated workspace to use folders.
    • Added AddString(), InsertString() & DeleteString() functions. These functions ASSERT to ensure that the icon combo box operates correctly.
    • Added DeleteIcon() function. This should be called instead of DeleteString().
    • Modified internal implementation of InsertIcon() & AddIcon() for both classes.
    • Tidied up some of the help documentation.

    Please send any comments or bug reports to me via email. For any updates to this article, check my site here. <p>


    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


    About the Author

    PJ Naughter
    United States United States
    No Biography provided

    You may also be interested in...

    Comments and Discussions

    GeneralVery Well Done! Pin
    Greg Ellis29-May-07 5:14
    memberGreg Ellis29-May-07 5:14 
    Generalcannot open file 'uafxcw.lib' Pin
    fyl_jf5-Aug-02 21:16
    memberfyl_jf5-Aug-02 21:16 
    GeneralRe: cannot open file 'uafxcw.lib' Pin
    pjnaughter5-Aug-02 23:25
    memberpjnaughter5-Aug-02 23:25 
    GeneralRe: cannot open file 'uafxcw.lib' Pin
    Anonymous6-Aug-02 18:26
    sussAnonymous6-Aug-02 18:26 
    GeneralRe: cannot open file 'uafxcw.lib' Pin
    Don Montgomery6-Jan-05 11:48
    sussDon Montgomery6-Jan-05 11:48 
    GeneralRe: cannot open file 'uafxcw.lib' Pin
    jov13-Feb-08 20:49
    memberjov13-Feb-08 20:49 
    Generalhelp me Pin
    haohao11-Jun-01 15:31
    memberhaohao11-Jun-01 15:31 
    GeneralRe: help me Pin
    LilVinz17-Jun-01 7:21
    memberLilVinz17-Jun-01 7:21 
    GeneralRe: help me Pin
    Anonymous24-Jun-01 14:54
    memberAnonymous24-Jun-01 14:54 
    GeneralRe: help me Pin
    pjnaughter5-Aug-02 23:25
    memberpjnaughter5-Aug-02 23:25 

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

    Permalink | Advertise | Privacy | Terms of Use | Mobile
    Web04-2016 | 2.8.180323.1 | Last Updated 4 Mar 2000
    Article Copyright 2000 by PJ Naughter
    Everything else Copyright © CodeProject, 1999-2018
    Layout: fixed | fluid