WidgetToBack() not working?

Our ported from QNX 4 Photon application use to send windows to the
background programmatically using the PtWidgetToBack(). This function does
not seem to be working under RTP (6.3.0 SP1). The windows in question are
overlapping windows. I’ve also tried using PtWidgetToFront()
unsuccessfully. If I move one of the window such that I can click on it, I
can successfully bring it to the foreground. Bug?

Richard Doucet <doucetr@dontaeclspam.came> wrote:

Our ported from QNX 4 Photon application use to send windows to the
background programmatically using the PtWidgetToBack(). This function does
not seem to be working under RTP (6.3.0 SP1). The windows in question are
overlapping windows. I’ve also tried using PtWidgetToFront()
unsuccessfully. If I move one of the window such that I can click on it, I
can successfully bring it to the foreground. Bug?

Have you tried PtWindowToBack() and PtWindowToFront()?

I think the widget versions got deprecated in favour of the window
ones somewhere along the way.

-David

David Gibbs
QNX Training Services
dagibbs@qnx.com

Sorry, I meant to say PtWindowToBack, not PtWidgetToBack().

“David Gibbs” <dagibbs@qnx.com> wrote in message
news:dcbf83$kro$1@inn.qnx.com

Richard Doucet <> doucetr@dontaeclspam.came> > wrote:
Our ported from QNX 4 Photon application use to send windows to the
background programmatically using the PtWidgetToBack(). This function
does
not seem to be working under RTP (6.3.0 SP1). The windows in question
are
overlapping windows. I’ve also tried using PtWidgetToFront()
unsuccessfully. If I move one of the window such that I can click on it,
I
can successfully bring it to the foreground. Bug?

Have you tried PtWindowToBack() and PtWindowToFront()?

I think the widget versions got deprecated in favour of the window
ones somewhere along the way.

-David

David Gibbs
QNX Training Services
dagibbs@qnx.com

Hi Dave

I have applications that use the widget to front/back functions. I’m using
these on planes for instance. What do you recommend to use in this case?


“David Gibbs” <dagibbs@qnx.com> wrote in message
news:dcbf83$kro$1@inn.qnx.com

Richard Doucet <> doucetr@dontaeclspam.came> > wrote:
Our ported from QNX 4 Photon application use to send windows to the
background programmatically using the PtWidgetToBack(). This function
does
not seem to be working under RTP (6.3.0 SP1). The windows in question
are
overlapping windows. I’ve also tried using PtWidgetToFront()
unsuccessfully. If I move one of the window such that I can click on
it, I
can successfully bring it to the foreground. Bug?

Have you tried PtWindowToBack() and PtWindowToFront()?

I think the widget versions got deprecated in favour of the window
ones somewhere along the way.

-David

David Gibbs
QNX Training Services
dagibbs@qnx.com

Bill Caroselli <qtps@earthlink.net> wrote:

Hi Dave

I have applications that use the widget to front/back functions. I’m using
these on planes for instance. What do you recommend to use in this case?

I dunno. I just looked for them in the docs, and didn’t find them. Maybe
I just didn’t look in the right place. (My Photon programming is at about
the level of “hello world” and a button to exit.)

-David

“David Gibbs” <> dagibbs@qnx.com> > wrote in message
news:dcbf83$kro$> 1@inn.qnx.com> …
Richard Doucet <> doucetr@dontaeclspam.came> > wrote:
Our ported from QNX 4 Photon application use to send windows to the
background programmatically using the PtWidgetToBack(). This function
does
not seem to be working under RTP (6.3.0 SP1). The windows in question
are
overlapping windows. I’ve also tried using PtWidgetToFront()
unsuccessfully. If I move one of the window such that I can click on
it, I
can successfully bring it to the foreground. Bug?

Have you tried PtWindowToBack() and PtWindowToFront()?

I think the widget versions got deprecated in favour of the window
ones somewhere along the way.

-David

David Gibbs
QNX Training Services
dagibbs@qnx.com


David Gibbs
QNX Training Services
dagibbs@qnx.com

I have a few apps that use PtWindowToFront() and they seem to work fine.
Are your windows children of the same parent, or do they have no
parent? You are running pwm, right?

Richard Doucet wrote:

Sorry, I meant to say PtWindowToBack, not PtWidgetToBack().

“David Gibbs” <> dagibbs@qnx.com> > wrote in message
news:dcbf83$kro$> 1@inn.qnx.com> …

Richard Doucet <> doucetr@dontaeclspam.came> > wrote:

Our ported from QNX 4 Photon application use to send windows to the
background programmatically using the PtWidgetToBack(). This function
does
not seem to be working under RTP (6.3.0 SP1). The windows in question
are
overlapping windows. I’ve also tried using PtWidgetToFront()
unsuccessfully. If I move one of the window such that I can click on it,
I
can successfully bring it to the foreground. Bug?

Have you tried PtWindowToBack() and PtWindowToFront()?

I think the widget versions got deprecated in favour of the window
ones somewhere along the way.

-David

David Gibbs
QNX Training Services
dagibbs@qnx.com

The problem was at my end (an ordering issue). Thanks for the help.

“David Gibbs” <dagibbs@qnx.com> wrote in message
news:dcobe3$2h6$3@inn.qnx.com

Bill Caroselli <> qtps@earthlink.net> > wrote:
Hi Dave

I have applications that use the widget to front/back functions. I’m
using
these on planes for instance. What do you recommend to use in this case?

I dunno. I just looked for them in the docs, and didn’t find them. Maybe
I just didn’t look in the right place. (My Photon programming is at about
the level of “hello world” and a button to exit.)

-David

“David Gibbs” <> dagibbs@qnx.com> > wrote in message
news:dcbf83$kro$> 1@inn.qnx.com> …
Richard Doucet <> doucetr@dontaeclspam.came> > wrote:
Our ported from QNX 4 Photon application use to send windows to the
background programmatically using the PtWidgetToBack(). This function
does
not seem to be working under RTP (6.3.0 SP1). The windows in question
are
overlapping windows. I’ve also tried using PtWidgetToFront()
unsuccessfully. If I move one of the window such that I can click on
it, I
can successfully bring it to the foreground. Bug?

Have you tried PtWindowToBack() and PtWindowToFront()?

I think the widget versions got deprecated in favour of the window
ones somewhere along the way.

-David

David Gibbs
QNX Training Services
dagibbs@qnx.com


\

David Gibbs
QNX Training Services
dagibbs@qnx.com