Hide menu item 'Launch' under Document

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Paul - Tracker Supp, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
Posts: 63
Joined: Thu Dec 06, 2018 7:02 am

Hide menu item 'Launch' under Document

Post by AteBe » Wed Sep 04, 2019 11:59 am

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)
The call IUIX_Cmd menu = in.CmdManager().Cmds().Find("cmd.launchExternalApp"); is successfull but the call menu.Hidden(true); has no effect and the menu item is still visible.

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?



User avatar
Sasha - Tracker Dev Team
Posts: 4885
Joined: Fri Nov 21, 2014 8:27 am

Re: Hide menu item 'Launch' under Document

Post by Sasha - Tracker Dev Team » Fri Sep 06, 2019 7:10 am

Hello AteBe,

I've just tried hiding it from the FullDemo application in the Classic interface - everything worked correctly - it disappeared from the Document menu and also from the bottom right corner.
Join us at Google+:
Subscribe at:

Post Reply