This article discusses that you cannot insert a menu item that is always visible by using Visual Studio Tools for Microsoft Dynamics GP.
You can use the AddMenuHandler method on a specific Microsoft Dynamics GP form to add to the menu structure in Microsoft Dynamics GP. This menu item is only visible when the selected Microsoft Dynamics GP form is open. However, you cannot insert a menu item that is always visible in Microsoft Dynamics GP.
For example, the following line of C# code adds a new item to the Extras menu that is visible when the Sales Transaction window is open.
Dynamics.Forms.SopEntry.AddMenuHandler(new EventHandler(SOPEntryFormHandler), "SOP Menu Item");
For version 10.00 of Microsoft Dynamics GP, there is a utility which can be used to add your own entries into the navigation menus of the application.
Download this from Menus for Visual Studio Tools for Microsoft Dynamics GP 10.0:
For more information, read the Visual Studio Tools for Microsoft Dynamics GP Programmer’s Guide. To download the Visual Studio Tools for Microsoft Dynamics GP Programmer’s Guide, visit the following Microsoft Web site: