Bookmarks pane undocked visibillity

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
jusWest
User
Posts: 150
Joined: Fri Aug 24, 2018 8:26 am

Bookmarks pane undocked visibillity

Post by jusWest »

Hello!

I check for the visibillity of the bookmarks pane via a customeventtarget onevent, like this:

Code: Select all

            public void OnEvent(IUIX_Obj pSender, IUIX_Event pEvent)
            {   
                if (pEvent.Code == (int)UIX_EventCodes.e_Visible)
                {
                    Parent.SetBmPaneVisible(_Obj);
                }
            }
            
           private void SetBmPaneVisible(IUIX_Obj bmPaneObj)
          {
           	 var isVisible = bmPaneObj.Visible;
           }
This works when the bookmarkspane is docked, but when it is undocked, the same event fires, but the bmPaneObj.Visible is always false.

What could be wrong?

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

Re: Bookmarks pane undocked visibillity

Post by Sasha - Tracker Dev Team »

Hello Ronny,

Everything works OK in the End-User Editor with the same logic. Please give us a small sample project to recreate this and then we will look into this deeper.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
jusWest
User
Posts: 150
Joined: Fri Aug 24, 2018 8:26 am

Re: Bookmarks pane undocked visibillity

Post by jusWest »

Hi!

While I created a testproject I found that it worked in the testproject, så there must be something else preventing it to
work correctly in my primary project, will investigate further...

/ronny
jusWest
User
Posts: 150
Joined: Fri Aug 24, 2018 8:26 am

Re: Bookmarks pane undocked visibillity

Post by jusWest »

I must have been struck by some "end of week" ghost or something, because now it works in my main app also :) :shock:
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17910
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Bookmarks pane undocked visibillity

Post by Tracker Supp-Stefan »

Glad to hear that Ronny!

Cheers,
Stefan
Post Reply