IPXV_PagesView::ShowInfoTip displays behind markup annotation's popup note  SOLVED

PDF-XChange Editor SDK for Developers

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

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

IPXV_PagesView::ShowInfoTip displays behind markup annotation's popup note

Post by zarkogajic »

Hi Support,

Is there a flag to say Info Tip "on top"?

image.png

p.s.
right part of InfoTip goes behind the popup note.

-žarko
You do not have the required permissions to view the files attached to this post.
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2445
Joined: Thu Jun 30, 2005 4:11 pm

Re: IPXV_PagesView::ShowInfoTip displays behind markup annotation's popup note

Post by Vasyl - PDF-XChange »

Hi Zarko.

I cannot reproduce it...
image.png
You do not have the required permissions to view the files attached to this post.
PDF-XChange Co. LTD (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: 1473
Joined: Thu Sep 05, 2019 12:35 pm

Re: IPXV_PagesView::ShowInfoTip displays behind markup annotation's popup note

Post by zarkogajic »

Hi Vasyl,

Interesting...

:) yet, lucky me - have a screen shot to prove.

No idea why it works for me like that?

-žarko
zarkogajic
User
Posts: 1473
Joined: Thu Sep 05, 2019 12:35 pm

Re: IPXV_PagesView::ShowInfoTip displays behind markup annotation's popup note

Post by zarkogajic »

Hi Vasyl,

I think I've found it:

When I do op.document.importCommentsAndFields and then ShowInfoTip - the info tip goes behind markup elements.

I've tried Document.ActiveView.PagesView.Refresh in between -> no difference.

However, if I call ShowInfoTip again - after first call - all ok (this one goes on top).

So, some kind of delay happening when markup imported but before ShowInfoTip is ensured to go on top.

p.s.
What is the last parameter "nFlags" for ShowInfoTip ?

Since there's HideInfoTip() I guess nFlags could be used to say "stay visible" ?

-žarko
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2445
Joined: Thu Jun 30, 2005 4:11 pm

Re: IPXV_PagesView::ShowInfoTip displays behind markup annotation's popup note

Post by Vasyl - PDF-XChange »

It occurrs because after import of comments the PagesView refreshes all comment popups, by recreating all of them and putting them on the top in z-order. This refresh is asynchronous, so you may see that effect with InfoTip, which technically shows before the asynchronous update of popups.

You may try to solve it by:

1. import comments
2. pagesView.Obj.Redraw(true); // forces to update the comment popups immediately
3. pagesView.ShowInfoTip(...)
PDF-XChange Co. LTD (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: 1473
Joined: Thu Sep 05, 2019 12:35 pm

Re: IPXV_PagesView::ShowInfoTip displays behind markup annotation's popup note  SOLVED

Post by zarkogajic »

Hi Vasyl,

Thanks!

User avatar
Daniel - PDF-XChange
Site Admin
Posts: 11031
Joined: Wed Jan 03, 2018 6:52 pm

IPXV_PagesView::ShowInfoTip displays behind markup annotation's popup note

Post by Daniel - PDF-XChange »

:)
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

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