Hide 'Macro Guide' from popup

PDF-XChange Editor SDK for Developers

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

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
lidds
User
Posts: 510
Joined: Sat May 16, 2009 1:55 pm

Hide 'Macro Guide' from popup

Post by lidds »

Is there a way to hide the macro guide option on the Add New Stamp form? The reason for this is that it takes the user back to your company website, which I do not want.
macroGuide.png
macroGuide.png (9.74 KiB) Viewed 1221 times
Thanks

Simon
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Hide 'Macro Guide' from popup

Post by Sasha - Tracker Dev Team »

Hello Simon,

What you can do is overload the cmd.macro.guide command so that it would not do anything at all.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
lidds
User
Posts: 510
Joined: Sat May 16, 2009 1:55 pm

Re: Hide 'Macro Guide' from popup

Post by lidds »

Alex,

How would I acheive this?

Thanks

Simon
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Hide 'Macro Guide' from popup

Post by Sasha - Tracker Dev Team »

Hello Simon,

Well there are several ways of doing that - for example marking the Command as Hidden and Offline - so no one should be able to use it. Get it by the ID through the CmdManager and set these properties to false.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
lidds
User
Posts: 510
Joined: Sat May 16, 2009 1:55 pm

Re: Hide 'Macro Guide' from popup

Post by lidds »

Alex,

I have tried the following, but the cmd returns nothing?

Code: Select all

        Dim cmd As PDFXEdit.IUIX_Cmd = Nothing
        cmd = uiInst.CmdManager.Cmds.Find("cmd.macro.guide")
        cmd.Hidden = True
Thanks

Simon
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Hide 'Macro Guide' from popup

Post by Sasha - Tracker Dev Team »

Hello Simon,

Well, this command is not in the Command Manager, but a dynamic command that is added to the dialog. Sadly, you cannot customize this one.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply