How to insert new menu items in Netscape - TechRepublic
General discussion
April 30, 2001 at 01:29 PM
tykal

How to insert new menu items in Netscape

by tykal . Updated 25 years, 1 month ago

Hi All,

I’ve developed a helper application for Netscape. I need to add a command to enable/disable teh app. I want to do this by inserting amenu item under the View menu of Netscape. I am using MS Visual C++ 6.0. I’ve tried to use teh InsertMenu and AppendMenu functions but Netscape seems to ignore these functions.

I have used the GetMenuItemCount() to return the number of menu items in Netscape’s View menu. This function only returns 1 for some reason. There are definately more menu items than one in the View menu. Infact this is the same result for the other sub-menus in Netscape.

I can find the main menu and teh View sub-menu ok. I just can’t insert my menu item. Does anyone know how this can be done?

Thanks,
Tyrone

This discussion is locked

All Comments