IUIX_CmdBar.Highlight() ?  SOLVED

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
zarkogajic
User
Posts: 1370
Joined: Thu Sep 05, 2019 12:35 pm

IUIX_CmdBar.Highlight() ?

Post by zarkogajic »

Hi Support,

What should IUIX_CmdBar.Highlight do ?


Here's what I have:

image.png

On top there are my two custom IUIX_CmdBars (each in its own IUIX_CmdLine).

The second one has one custom command where UIX_CmdItemStyle_Static is used (with InstUI.CreateCmdBar) - as I want it to display as simple label (and not a clickable button).

The last line is my custom InfoBar.

All works as expected.

I want to get rid of the InfoBar (as it is Instance related) and just use my own bar - however I would like it to be highlighted when I need - same highlight style as appears when IPXV_InfoBar.HighlightSpan is used.

Seems that IUIX_CmdBar.Highlight does nothing? Or should I implement something extra for it to highlight like HighlightSpan does.


-žarko
User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 2353
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: IUIX_CmdBar.Highlight() ?

Post by Vasyl-Tracker Dev Team »

At the moment the IUIX_CmdBar.Highlight() isn't implemented. But in the future it will appear like IUIX_CmdItem.Highlight() - it highlights the specified cmd-item on certain toolbar. You may try to use this one instead of highlighting of the whole toolbar. But I'm not sure how it will work for static items...
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
zarkogajic
User
Posts: 1370
Joined: Thu Sep 05, 2019 12:35 pm

Re: IUIX_CmdBar.Highlight() ?  SOLVED

Post by zarkogajic »

Hi Vasyl,

Ok, thanks.

User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8544
Joined: Wed Jan 03, 2018 6:52 pm

IUIX_CmdBar.Highlight() ?

Post by TrackerSupp-Daniel »

:)
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Post Reply