Solved

Question About Menu

Posted on 1998-12-21
2
126 Views
Last Modified: 2013-11-20
Hello Group:

I have a MFC application. It includes around 10 different Doc/View, each of them have their own menu. I want to add a menu item that will appear on every menu, but i do not want to get into each doc/view to change their menu system. Is there any way i can do that.

Thanks for any help

Jinsong Liu
0
Comment
Question by:johnliu
2 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 200 total points
Comment Utility
Unfortunately, you're going to have to add it. However, there is another way, instead of using the resource editor, you can use the source editor. Use File | Open to open the resource file. However, at the bottom of the dialog, select Open as Text.

From here, you can edit the resource file and insert the same menu choice into several menus by using cut and paste. This would be the quickest way of adding the same entry into multiple menus.
0
 

Author Comment

by:johnliu
Comment Utility
But. How the tools menu of Microsoft Visual Studio did that.

Jinsong
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
MFC Dialog 9 47
maxBlock challenge 30 99
sumNumber challenge 16 98
wordmultiple challenge 12 89
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…
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

771 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

7 Experts available now in Live!

Get 1:1 Help Now