Author Topic: Add-in Menu Problem  (Read 2650 times)

rashid.mohd

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Add-in Menu Problem
« on: September 08, 2006, 03:46:48 am »
We want to make an Addin in EA that will create two separate Menus i.e. one will on Main menu of EA and other will be created on the Tree View of Model hierarchy by same addin. For this we have used the following Event in add-in

  EA_GetMenuItems(...)

In this event code we have set the MenuLocation as “MainMenu” but it created same menu in both Main menu of EA as well as in TreeView.  :(

So help me

Rashid

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8085
  • Karma: +118/-20
    • View Profile
Re: Add-in Menu Problem
« Reply #1 on: September 10, 2006, 02:56:54 pm »
The MenuLocation parameter is passed in to specify where the menu is being created.

Try checking this variable and calling different functions depending on the value.