I try to hide the menu item Document->Launch including all submenus.
I've tried the description at viewtopic.php?f=66&t=27339&p=105967&hilit=menu#p105967 with the id "cmd.launchExternalApp".
Code: Select all
public void hideMenu() {
Object o = getInst().GetExtension("UIX");
Pointer ptr = ((Unknown) o).getPointer();
IUIX_Inst in = new IUIX_Inst(ptr);
IUIX_Cmd menu = in.CmdManager().Cmds().Find("cmd.launchExternalApp");
if (menu != null)
menu.Hidden(true);
}
As a test, I also tried to hide the menu item 'Content Editing Tools' under Tools, which did not work either.
How can I hide menu item Launch?
AteBe