Multi tab: get notified when tab is activated (document changed in viewer)  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

Multi tab: get notified when tab is activated (document changed in viewer)

Post by zarkogajic »

Hi devs,

How do I get notified when the active tab changes in multitab view. I guess by looking for UIX_Notify_Layout_ItemActivated event, but then what? How to get to the document ?
zarkogajic
User
Posts: 1370
Joined: Thu Sep 05, 2019 12:35 pm

Re: Multi tab: get notified when tab is activated (document changed in viewer)  SOLVED

Post by zarkogajic »

Ok, this is handled by EnableEventListening for e.document.sourceChanged and e.activeDocChanged.
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Multi tab: get notified when tab is activated (document changed in viewer)

Post by Sasha - Tracker Dev Team »

:)
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply