Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Adding icons to menus

Posted on 1999-01-27
4
Medium Priority
?
183 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 400 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

722 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