Where I may find the whole list of the parameter "sBarID"

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
eagle.zhengyi@gmail.com
User
Posts: 31
Joined: Wed Nov 07, 2018 4:41 pm

Where I may find the whole list of the parameter "sBarID"

Post by eagle.zhengyi@gmail.com »

Hi,
Where I may find the whole list of the parameter "sBarID"? The online manual just lists part of all values like below.

HRESULT ShowCmdBar([in] BSTR sBarID,
[in] VARIANT_BOOL bShow);
Parameters
sBarID
[in] A string containing the unique identifier of toolbar. For example:
cmdbar.menubar
cmdbar.file
cmdbar.standard
cmdbar.zoom
cmdbar.pageNav
cmdbar.rotateView
cmdbar.contentEditing
cmdbar.pageLayout
cmdbar.docOptions
cmdbar.commenting
cmdbar.measurement
cmdbar.properties
cmdbar.launchApp
...
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Where I may find the whole list of the parameter "sBarID"

Post by Sasha - Tracker Dev Team »

Hello eagle.zhengyi@gmail.com,

Check the FullDemo application - there is a code snippet for the dynamic command bar loading.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
eagle.zhengyi@gmail.com
User
Posts: 31
Joined: Wed Nov 07, 2018 4:41 pm

Re: Where I may find the whole list of the parameter "sBarID"

Post by eagle.zhengyi@gmail.com »

In the FullDemo which was developed by C# .NET, every identification name starts with "cmd." not "cmdbar.". It says "The parameter is incorrect" when I was trying to call ShowCmdBar(sBarID) using "cmd.xxx" in a VCL Desktop application.
Anyone could help?

Thanks in advance.
Yi
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Where I may find the whole list of the parameter "sBarID"

Post by Sasha - Tracker Dev Team »

Hello eagle.zhengyi@gmail.com,

There are multiple samples of ShowCmdBar in the FullDemo application - you can look there for samples.

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