Solved

Adding icons to menus

Posted on 1999-01-27
4
181 Views
Last Modified: 2013-11-20
How do I add icons to menus similar to those in MS Office and Visual Studio??
0
Comment
Question by:jmfernau
[X]
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
4 Comments
 

Expert Comment

by:sankar012898
ID: 1328386
goto  www.codeguru.com/

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

Expert Comment

by:palapyean
ID: 1328387
do you mean to add icon to the tool bar or creating the new tool bar?
0
 
LVL 3

Accepted Solution

by:
luisr earned 100 total points
ID: 1328388
See the MSJ January 1998 article by Paul DiLascia (and download the code from www.microsoft.com/msj)

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

    // In the CMainFrame class definition
    CCoolMenuManager m_coolMenu;

    // In CMainFrame::OnCreate
    m_coolMenu.Install(this);
    m_coolMenu.LoadToolbar(IDR_MAINFRAME);

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

0
 

Author Comment

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

Jon
0

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 https://www.mail-signatures.com/articles/signature-templates/?sts=6651 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