Reset All (toolbar, menus, and comannds to default)

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
coblejesse
User
Posts: 30
Joined: Thu May 16, 2019 7:44 pm

Reset All (toolbar, menus, and comannds to default)

Post by coblejesse » Fri Jun 07, 2019 4:09 pm

Hi Alex,

For some reason the menu, toolbar, etc properties are being saved even after the control is disposed off, and show up in the next instance. And we have different configurations for different screens. How do I reset the menu, toolbar, and commands to default when initializing the control? I see there is a Reset All button in the Customize Toolbars screen in the end user control. I don't see a command for that? Also, how do I execute it without having the pop confirming to reset it? I've tried using cmd.resetToolbar and cmd.resetMenu but neither do anything at all.

Thanks,
Jesse

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

Re: Reset All (toolbar, menus, and comannds to default)

Post by Sasha - Tracker Dev Team » Mon Jun 10, 2019 7:04 am

Hello Jesse,

One way to do this is to use the Reset Settings command (Common only). It will reset all of the layout, though it will also reset all of the previously stored dialog settings to default. If you don't need the latter - then using this would be OK.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Post Reply