Exiting from Phindows using corner x button

My qnx application is started using a phindows shortcut. I would like
for my application to display an Exit window when the Phindows title bar
close/“x” button is pressed. Is this even possible? Is there an event
or signal that I need to look for in my application?

TIA,
Chris

“chris ormaniec” <cormaniec@yahoo.com> wrote in message
news:3C98AD83.DB2C8685@yahoo.com

My qnx application is started using a phindows shortcut. I would like
for my application to display an Exit window when the Phindows title bar
close/“x” button is pressed. Is this even possible? Is there an event
or signal that I need to look for in my application?

From what I know I don’t think that’s possible.

TIA,
Chris

You could monitor the number of ‘phrelay’ tasks running. There is one for
each Phindows
session running. If all the ‘phrelay’ tasks go away then post your exit
window.

“chris ormaniec” <cormaniec@yahoo.com> wrote in message
news:3C98AD83.DB2C8685@yahoo.com

My qnx application is started using a phindows shortcut. I would like
for my application to display an Exit window when the Phindows title bar
close/“x” button is pressed. Is this even possible? Is there an event
or signal that I need to look for in my application?

TIA,
Chris

“Ivan Bannon” <ivan.bannon@rjginc.com> wrote in message
news:a7nogr$id9$1@inn.qnx.com

You could monitor the number of ‘phrelay’ tasks running. There is one for
each Phindows
session running. If all the ‘phrelay’ tasks go away then post your exit
window.

Huh? If the Phindows session is gone where will the QNX display
the dialog? On the local machine? I don’t think that is what chris meant?

“chris ormaniec” <> cormaniec@yahoo.com> > wrote in message
news:> 3C98AD83.DB2C8685@yahoo.com> …
My qnx application is started using a phindows shortcut. I would like
for my application to display an Exit window when the Phindows title bar
close/“x” button is pressed. Is this even possible? Is there an event
or signal that I need to look for in my application?

TIA,
Chris