Book a Demo

Author Topic: MDG_MDGGetProperty Method  (Read 2850 times)

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
MDG_MDGGetProperty Method
« on: May 21, 2011, 01:06:23 am »
Hi All

I am writing an MDG Add In and all works well so far, however I am having a little trouble in implementing the method MDG_MDGGetProperty which in C# returns an Object type

According to the user guide THREE items have to be returned:

1) IconID (used to change the project browser icon)
2) Language
3) HiddenMenus

The user guide does make it at all clear how these values are to be returned, are they one string and if so how are the values identified?

The skimpy example in the user guide implies THREE returns under the control of if statements, does EA call this event three times?

In addition, is the IconId an actual ico in the sense of an Icon resource in a Visual Studio project?

Any assistance would be gratefully appreciated

Cheers

Phil
Models are great!
Correct models are even greater!