472,969 Members | 1,899 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,969 software developers and data experts.

.NET IDR_MAINFRAME menu problem - application Help menu conflict with Excel Help menu

I am working on .NET Version 2003 making an SDI application that calls MS Excel 2003.
I added a menu item called "MyApp Help" in the end of the menu bar to show Help-> About.

The application calls MS Excel, so the scenario is that I am supposed to see the Excel Menu bar,

I am able to see the menu bar, but in case of Help, I see the Help of Excel and help of my application, both as a submenu of help.

My App Help -> About MyApp
Excel Help -> Excel Help Submenu

PROBLEM: The Excel Help Submenu (like SHOW OFFICE ASSIATANT, DETECT & REPAIR, ACTIVATE PRODUCT) do exist and are clickable but nothing opens after clicking the submenu item.
However, If I first click on My App Help -> About MyApp and leave the About window open and then try the Excel Help submenu then the submenu items work.

This is the code I wrote:
RC File:
POPUP "&File"
POPUP "&Help"

About box (which pops on About MyApp)

// CSheetMFCCtrl::AboutBox - Display an "About" box to the user

void CSheetMFCCtrl::AboutBox()

dlgAbout.DoModal(); //**

** DoModal seems to be the only option.
However the tiny about box that opens is not really modal. Whoe that is open one can click on Help-> Excel Help or anything else.

More information/description:
When I run the application, the MS EXcel Help attaches itself as the last child of the Help menu item, just below my menu item called "My App Help". When I click the "My App

Help" item, the pop up opens and works fine. If it remains open, then the MS Excel Help works fine (relevant popups show up). But, if I close my own Help popup, the MS Excel

Help does not work any more. I did not write any code to explicitly add the Excel Help, so I'm not sure how it came there in the first place.

Another thing that puzzles me is that the Help menu has 2 children:
--> My App Name Help --> My App Help
--> Microsoft Excel Help --> ... sub menu items
Why did the "My App Name Help" appear here? I was expecting the "My App Help" to be a direct child of "Help".

It would be great to get some inputs on how to resolve this.
Thanks a lot.
Aug 2 '08 #1
0 2749

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Lachlan Hunt | last post by:
Hi, I've been trying, but failing to work out what is causing Opera to render my drop down menu incorrectly on my site. http://www.lachy.id.au/ For some reason, there seems to be extra margin...
by: Slav | last post by:
Hello, I'm trying to put a menu on a page containing a select form. The code for the menu I took from http://dynamicdrive.com/dynamicindex1/topnavbar.htm and the form is in the code...
by: Amy B | last post by:
Hi, I've been trying to figure out how to fix this for several days but nothing I have done so far seems to work. I have posted this message in a Google Excel Programming group, but did not...
by: Loane Sharp | last post by:
Hi there I've got a hang of a problem ... I'm running the .NET framework (2.0.40903), SQL Server 2000 and SQL Express 2005 on Windows XP Pro on a pretty good and new IBM Thinkpad X41. Some...
by: Wayne | last post by:
I've been clicking around Access 2007 Beta 2 and can't see the custom menu bar designer. Is it in the beta? Maybe I'm blind. The question that comes to mind is: Will custom menu bars be the same...
by: shantanu | last post by:
Hi all I have developed a ADDIN for excel 2000, now i want to add the addin in the Tools menu of Excel. How can i do that. regards shantanu
by: shantanu | last post by:
Dear All I have a requirement for creating a sub menu. I have been working on the addin and was able to put the addin in the tools menu of excel. The menu will be something like: 1. Main Item...
by: peejay750 | last post by:
I have an Access application that needs to open an Excel workbook which has Cognos links in it. When I open the Excel workbook with the Cognos links in it using Excel, the Cognos Analyst menu is...
by: Brandon | last post by:
I'm attempting to have a file copied from a menu selection. The menu already exists, but it won't even create the menu item. If anyone has any ideas, please let me know.
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.