IUIX_Tree NotifyTarget null for BookmarksView (IUIX_TreeCallbacks)  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: 1372
Joined: Thu Sep 05, 2019 12:35 pm

IUIX_Tree NotifyTarget null for BookmarksView (IUIX_TreeCallbacks)

Post by zarkogajic »

Hi Support,

When implementing IUIX_ListCallbacks for IPXV_SearchView I can use pList.NotifyTarget (for example in List_OnItemClick) to get to the SearchView where this IUIX_List is hosted.

When trying to use the same for BookmarksView IUIX_TreeCallbacks, the pTree.NotifyTarget is null (therefore not IPXV_BookmarksView).

By design?

How can I get from pTree: IUIX_Tree to who hosts it (in methods of IUIX_TreeCallbacks)?

-žarko
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: IUIX_Tree NotifyTarget null for BookmarksView (IUIX_TreeCallbacks)

Post by Sasha - Tracker Dev Team »

Hello žarko,

You can get the BookmarksView from the Tree.Callbacks.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
zarkogajic
User
Posts: 1372
Joined: Thu Sep 05, 2019 12:35 pm

Re: IUIX_Tree NotifyTarget null for BookmarksView (IUIX_TreeCallbacks)  SOLVED

Post by zarkogajic »

Hi Alex,

Yes, that's it, thanks.

Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

IUIX_Tree NotifyTarget null for BookmarksView (IUIX_TreeCallbacks)

Post by Sasha - Tracker Dev Team »

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