overlap display problem

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

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

edvschu
User
Posts: 127
Joined: Fri Jun 25, 2010 6:54 am

overlap display problem

Post by edvschu »

Hello,

with version 2.5.201 and all subsequent versions of the ActiveX control, there is a display problem in our application.

After fixing the problem

Fixed refresh / repaintinting bug with ActiveX control on the dialog Forms
https://forum.pdf-xchange.com/ ... hp?t=12458

we have problems with displaying the control.

Located at the position of the ActiveX Control also another control (such as a grid), then the grid is not displayed properly,
it will be masked by the ActiveX control, although this is hidden.

We develop our application with this tool: http://www.ca.com/us/products/detail/ca-plex.aspx

Can they get us more details to come, what has changed?
Sample.zip
Best regards,
edvschu
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: overlap display problem

Post by Vasyl - PDF-XChange »

Hi, edvschu.
Located at the position of the ActiveX Control also another control (such as a grid), then the grid is not displayed properly,
it will be masked by the ActiveX control, although this is hidden.
Please check: our control is really hidden OR is overlapped only by your grid-control (our control isn't hidden and placed under your control).
For your case our control must be invisible by "pdfViewerCtrl.visible = false" for example, or, in other words, the window-style of our control should not contain the WS_VISIBLE flag..

Also you may try add the WS_CLIPCHILDREN flag in the style of your form...

HTH
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.
edvschu
User
Posts: 127
Joined: Fri Jun 25, 2010 6:54 am

Re: overlap display problem

Post by edvschu »

Hello,

thanks for the reply. But the instructions do not help me really.

I have made ​​no changes to my application, but now using the latest version of the ActiveX control.

I have forwarded the problem to the Plex support. They say now the problem is with the manufacturer of the ActiveX Control.
Up to version 2.5.200, it has functioned. Perhaps help further detailed information about what was changed internally in version 2.5.201.

not contain the WS_VISIBLE flag
add the WS_CLIPCHILDREN flag
Plex generates C++ source code and I can not find the WS_VISIBLE flag. With method C++ ShowWindow I hide/show the Control.
I can't set the flag WS_CLIPCHILDREN, I only have the option for Clip Control Yes/No in Plex. In the C++ source is then the flag WS_CLIPSIBLINGS.

Best regards,
edvschu
edvschu
User
Posts: 127
Joined: Fri Jun 25, 2010 6:54 am

Re: overlap display problem

Post by edvschu »

Hello,

I would be grateful for any information. How does it look?

Best regards,
edvschu
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19883
Joined: Mon Jan 12, 2009 8:07 am

Re: overlap display problem

Post by Stefan - PDF-XChange »

Hello edvschu,

I've passed your question to Vasyl and I hope he would be able to answer back in this topic a bit later today (he's in our Vancouver island office and it's currently 6:50 AM over there).

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

Re: overlap display problem

Post by Vasyl - PDF-XChange »

Hi edvschu

Can you send us the simple app for testing and reproducing of this trouble?

Best
Regards.
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.
edvschu
User
Posts: 127
Joined: Fri Jun 25, 2010 6:54 am

Re: overlap display problem

Post by edvschu »

Hello,

here is a sample app. Please install first Cpp2005Sp1d_vcredist_x86.msi from
folder Cpp2005Sp1dVcRedist_x86 before run AA4F.EXE.

Best regards,
edvschu
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: overlap display problem

Post by Vasyl - PDF-XChange »

Hi edvschu.

Thanks for your sample app.
This trouble was reproduced and will be fixed in the next official build.
For now you may use new fixed sdk-DLL from the attached archieve OR you may use next workaround: add to your form style the WS_CLIPCHILDREN flag.

HTH.
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.
edvschu
User
Posts: 127
Joined: Fri Jun 25, 2010 6:54 am

Re: overlap display problem

Post by edvschu »

Hi Vasyl,

with the DLL, it looks good again. Big thank you :D.

Best regards,
edvschu
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19883
Joined: Mon Jan 12, 2009 8:07 am

Re: overlap display problem

Post by Stefan - PDF-XChange »

:)