Adding icons to menus

Posted on 1999-01-27
Last Modified: 2013-11-20
How do I add icons to menus similar to those in MS Office and Visual Studio??
Question by:jmfernau
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 1328386

There are lot of  sample applications for ICON BASED MENU
(Owner drawn menu ) like Office

Expert Comment

ID: 1328387
do you mean to add icon to the tool bar or creating the new tool bar?

Accepted Solution

luisr earned 100 total points
ID: 1328388
See the MSJ January 1998 article by Paul DiLascia (and download the code from

His class, CCoolMenuManager is very simple to use, something like this:

    // In the CMainFrame class definition
    CCoolMenuManager m_coolMenu;

    // In CMainFrame::OnCreate

and that's it, you have menus with perfectly working bitmaps on them.


Author Comment

ID: 1328389
that will work!! thanks a lot!!


Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
matchUp  challenge 9 134
Path of Workbook 3 88
Work with App store 7 122
c++  placing data into a form and an editbox 5 50
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question