Solved

Adding icons to menus

Posted on 1999-01-27
4
180 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
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Replacement selected text 2 65
iSeries DB2 Query 2 98
maxBlock challenge 30 145
mapAB Challlenge 35 171
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

685 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