Solved

Question About Menu

Posted on 1998-12-21
2
127 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
ID: 1326549
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
ID: 1326550
But. How the tools menu of Microsoft Visual Studio did that.

Jinsong
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ADO Memory leak with DELPHI 2007 37 170
iSeries DB2 Query 2 90
abstract class with all non abstract mentods 6 76
Making an alias 7 79
This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
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…
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.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

911 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

23 Experts available now in Live!

Get 1:1 Help Now