Skip navigation.
Home
The QNX Community Portal

View topic - Problem with transparencies in Ptwindow

Problem with transparencies in Ptwindow

Isn't the name clear?

Problem with transparencies in Ptwindow

Postby CASU81 » Mon Oct 18, 2010 7:44 pm

Hi, i have a problem with transparencies in PtWindow.
I have a first application that activates a second application by means of a button. In the second window given a transparent or translucent to indicate that disables the application below which I can observe the values of that first screen. When repositioning the second application (with the left mouse click), the transparent background does not refresh, it should show that at that moment is below the area of the window but it is not.
Also, if I raise a third screen, and close it at some point, the image of the third is mapped into transparency by suggesting that it was below the second window, but it is not. Any solution?
Attached Images problem.

Thanks,
Attachments
when i move second application.png
I moved here and the second window .. and does not update the image under the area of the app
(34.32 KiB) Downloaded 28 times
second application with transparent fill.png
The pictures you see are of the first application.
(29.8 KiB) Downloaded 31 times
first application.png
The first application
(26.38 KiB) Downloaded 31 times
CASU81
New Member
 
Posts: 1
Joined: Mon Oct 18, 2010 4:53 pm

RE: Problem with transparencies in Ptwindow

Postby maschoen » Wed Oct 20, 2010 6:59 am

Let me see if I understand.

You have an application. It starts an application above it with a transparent window. You move this application, but the transparent window does not refresh with what is below it each time? Is that right.

I never tried this, but my guess is that what has to happen is that the application below needs to get a "reveal" event. This is the event that an region gets when it was covered and it becomes uncovered. I probably have the name wrong. But it isn't getting the event because the Photon kernel thinks ... there's a window above it. So maybe what the window above has to do is emit this event.
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm


Return to GUI Programming

Who is online

Users browsing this forum: No registered users and 2 guests