Solved

Adding icons to menus

Posted on 1999-01-27
4
172 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
Comment Utility
goto  www.codeguru.com/

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

Expert Comment

by:palapyean
Comment Utility
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
Comment Utility
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
Comment Utility
that will work!! thanks a lot!!

Jon
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Expand LInux Boot partition remotly 3 78
deburging in oracle form 12 76
List out all word 7 220
Detect file exist or not 3 76
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now