AnsweredAssumed Answered

RemoveMenuPopupItem2() not working

Question asked by Mahadev Dharme on Jan 2, 2020

Hi,

I have added a pop-up menu by using following API.

pSwApp->AddMenuPopupItem3(docType, addinID, swSelectType_e::swSelBODYFEATURES, L"Testing", callBack, enable, hint, customNames, &cmdIndex).

 

I want to remove this menu when my add-in is deactivated.

I have used API pSwApp->RemoveMenuPopupItem2(docType, m_addinID, swSelectType_e::swSelBODYFEATURES, L"Testing", callBack, enable, hintstring, customNames, &isMenuRemoved)

 

However, isMenuRemoved gives fail and the menu is not removed.

 

 

 

Outcomes