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

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

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

Post by coblejesse »

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
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

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

Post by Sasha - Tracker Dev Team »

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
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply