AnsweredAssumed Answered

AddMenuPopupItem2 in multiple documents

Question asked by Bruno Frade on May 15, 2019
Latest reply on May 15, 2019 by Jim Sculley

Hello,

It is possible to register a popup menu for more then one document type at once?

 

i try with : 

int docType = (int)(swDocumentTypes_e.swDocDRAWING | swDocumentTypes_e.swDocPART);

int docType = (int)(swDocumentTypes_e.swDocDRAWING + swDocumentTypes_e.swDocPART);

 

SwApp.AddMenuPopupItem2(docType,...,...,)

 

but it seems to don't work...

Outcomes