Author Topic: Incorrect Menu Location  (Read 931 times)

Eric Johannsen

  • EA User
  • **
  • Posts: 43
  • Karma: +0/-0
  • Model Driven Business[ch0174]
    • View Profile
Incorrect Menu Location
« on: August 12, 2007, 05:42:50 pm »
I have a plugin running under EA 6.5 build 805.  It creates menus on the Main Menu as well as on Diagrams and the Tree View.

Trouble is... EA_MenuClick gets an incorrect menuLoc passed in depending on the state of EA when I select a menu item from the main menu.  MenuName and ItemName do have the correct value associated with the main menu entry I select, but MenuLoc is either Diagram (if I have a diagram selected in the tree view), otherwise it's treeview.  The only time I seem to get the correct value, MainMenu, is when I don't have any project loaded.

1. Is this a known issue?
2. Is there a known work-around?