Page 1 of 1

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

Posted: Mon Nov 12, 2018 7:47 pm
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
...

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

Posted: Tue Nov 13, 2018 7:03 am
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

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

Posted: Tue Apr 28, 2020 2:19 am
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

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

Posted: Tue Apr 28, 2020 6:51 am
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