Flckering of widgets

I’m porting a QNX4 1.14 Photon app to QNX 6.2.0.
The app consists of a base windows and 6 PtPanes
overlaid on top of each other, only one visible at
any stage.
I have a PtTimer calling an update routine twice
per second, and it updates all of the widgets on
the PtPane’s.
The problem is that it appears the widgets in the
lower PtPane’s are appearing to flicker “through”
the top PtPane. They are visible just for an instant
then disappear again.

This behaviour appears to be different compared to
QNX4/Photon 1.14.
How should I do this in order to avoid the problem?
(apart from marking which widgets are not part
of the top PtPane and then not updating those…)

Thanks in advance

acellarius@yahoo.com wrote:

I’m porting a QNX4 1.14 Photon app to QNX 6.2.0.
The app consists of a base windows and 6 PtPanes
overlaid on top of each other, only one visible at
any stage.
I have a PtTimer calling an update routine twice
per second, and it updates all of the widgets on
the PtPane’s.
The problem is that it appears the widgets in the
lower PtPane’s are appearing to flicker “through”
the top PtPane. They are visible just for an instant
then disappear again.

This behaviour appears to be different compared to
QNX4/Photon 1.14.
How should I do this in order to avoid the problem?
(apart from marking which widgets are not part
of the top PtPane and then not updating those…)

Thanks in advance

Hi,
I have an application very similar to yours. I can see two solutions for
you:

  1. Check which pane is in front and only update these widgets.
  2. use Windows instead of panes.
    Frank

On Thu, 27 Feb 2003 08:19:39 +0000 (UTC), frank.sczech@soudronic.com (Frank) wrote:

acellarius@yahoo.com > wrote:

I’m porting a QNX4 1.14 Photon app to QNX 6.2.0.
The app consists of a base windows and 6 PtPanes
overlaid on top of each other, only one visible at
any stage.
I have a PtTimer calling an update routine twice
per second, and it updates all of the widgets on
the PtPane’s.
The problem is that it appears the widgets in the
lower PtPane’s are appearing to flicker “through”
the top PtPane. They are visible just for an instant
then disappear again.

This behaviour appears to be different compared to
QNX4/Photon 1.14.
How should I do this in order to avoid the problem?
(apart from marking which widgets are not part
of the top PtPane and then not updating those…)

Thanks in advance

Hi,
I have an application very similar to yours. I can see two solutions for
you:

  1. Check which pane is in front and only update these widgets.
  2. use Windows instead of panes.
    Frank

Thanks
Someone also let me know know that 6.2.1 is “better” in this respect,
so I can be lazy and not have to check which pane is on top.

If you put all in the panes inside a PtOSContainer widget, it should
eliminate the flicker.

-Chris

<acellarius@yahoo.com> wrote in message news:1103_1046349721@192.168.0.5

On Thu, 27 Feb 2003 08:19:39 +0000 (UTC), > frank.sczech@soudronic.com
(Frank) wrote:
acellarius@yahoo.com > wrote:

I’m porting a QNX4 1.14 Photon app to QNX 6.2.0.
The app consists of a base windows and 6 PtPanes
overlaid on top of each other, only one visible at
any stage.
I have a PtTimer calling an update routine twice
per second, and it updates all of the widgets on
the PtPane’s.
The problem is that it appears the widgets in the
lower PtPane’s are appearing to flicker “through”
the top PtPane. They are visible just for an instant
then disappear again.

This behaviour appears to be different compared to
QNX4/Photon 1.14.
How should I do this in order to avoid the problem?
(apart from marking which widgets are not part
of the top PtPane and then not updating those…)

Thanks in advance

Hi,
I have an application very similar to yours. I can see two solutions for
you:

  1. Check which pane is in front and only update these widgets.
  2. use Windows instead of panes.
    Frank

Thanks
Someone also let me know know that 6.2.1 is “better” in this respect,
so I can be lazy and not have to check which pane is on top.