Book a Demo

Author Topic: Incorrect menu location passed to EA_GetMenuItems  (Read 3415 times)

bittercoder

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
  • .Net developer
    • View Profile
Incorrect menu location passed to EA_GetMenuItems
« on: December 12, 2006, 01:43:39 pm »
I'm building an add-in where the dialog, tree view and main menu menu's are completely different...

Yet I'm noticing some buggy behaviour when EA (v800) calls back into my add-in, basically the location from:

EA_GetMenuItems(Repository repository, string location, string menuName)

..is wrong in some scenarios - for example if I right click the tree view and select a menu option in my add-in the location is reported as "TreeView", but if I then navigate my way up to the main menu and select and option the location is reported (incorrectly) as still being "TreeView" - I can work round it, but I was wondering if anyone else has come across this problem?

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Incorrect menu location passed to EA_GetMenuIt
« Reply #1 on: December 12, 2006, 09:01:50 pm »
No, but I've described some strange behavior regarding the EA UI and the Project Browser in this forum before.

My best guess at the time was that EA was having trouble correctly isolating the selection point. Perhaps you are seeing symptoms of the same (or a closely related) problem from the API side.

If you've not already done so, please report this directly to Sparx - this is primarily a user forum. You can reach the correct vehicle from the EA main menu via Help | On-line Resources |  Bug Report Page.

David
No, you can't have it!

bittercoder

  • EA User
  • **
  • Posts: 30
  • Karma: +0/-0
  • .Net developer
    • View Profile
Re: Incorrect menu location passed to EA_GetMenuIt
« Reply #2 on: December 12, 2006, 10:30:46 pm »
Yeah, I'm going to wait for the 801 release, and then test it (along with some other issues I've been having with Elements.AddNew) before posting it as a bug...

Thanks for the heads up Midnight.