Starting app through phindows shortcut

Is there a way to change the pwm options in phrelay (currently -WtRctm)
so that the phindows title bar does not show up? I’d like to start my
photon app without the Phindows window around it, to make it look like a
true ms-windows app.

“chris ormaniec” <cormaniec@yahoo.com> wrote in message
news:3C8FA618.2556FBB1@yahoo.com

Is there a way to change the pwm options in phrelay (currently -WtRctm)
so that the phindows title bar does not show up? I’d like to start my
photon app without the Phindows window around it, to make it look like a
true ms-windows app.

We use the following /etc/config/phrelay scheme (Mine game used as an
example):

— phrelay –
phmine % -WPWRcbtfr /usr/photon/bin/ph.run /usr/bin/photon/mine -x1 -y1
— end —

— /usr/photon/bin/ph.ru —
#!/bin/sh
if [ “$PHOTON” != “” ]; then
chmod go-rwx $PHOTON
fi
if [ “$1” != “” ]; then
$@
fi
— end —

Works fine and Photon’s driven phmine looks like a true win32 application on
mine win2k desktop :slight_smile:

// wbr

Thank you - but the phindows title bar still appears. The -WtPWRcbtfr will
add the task bar so that my application windows can be minimized, but the
phindows min, max, and close buttons appear instead of my own application title
bar. Is it possible to only have my application title bar appear, or do I have
to look for a phindows close event in my own application in order to perform
cleanup?

Ian Zagorskih wrote:

“chris ormaniec” <> cormaniec@yahoo.com> > wrote in message
news:> 3C8FA618.2556FBB1@yahoo.com> …
Is there a way to change the pwm options in phrelay (currently -WtRctm)
so that the phindows title bar does not show up? I’d like to start my
photon app without the Phindows window around it, to make it look like a
true ms-windows app.


We use the following /etc/config/phrelay scheme (Mine game used as an
example):

— phrelay –
phmine % -WPWRcbtfr /usr/photon/bin/ph.run /usr/bin/photon/mine -x1 -y1
— end —

— /usr/photon/bin/ph.ru —
#!/bin/sh
if [ “$PHOTON” != “” ]; then
chmod go-rwx $PHOTON
fi
if [ “$1” != “” ]; then
$@
fi
— end —

Works fine and Photon’s driven phmine looks like a true win32 application on
mine win2k desktop > :slight_smile:

// wbr

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

Thank you - but the phindows title bar still appears. The -WtPWRcbtfr
will
add the task bar so that my application windows can be minimized, but the
phindows min, max, and close buttons appear instead of my own application
title
bar. Is it possible to only have my application title bar appear, or do I
have
to look for a phindows close event in my own application in order to
perform
cleanup?

Maybe i’m missing smth, but what do you mean by “phindows title bar then” ?
:slight_smile: Is it window’s title/border/etc. handled by phindows (ordinary windows
application) on local host or it is window’s title/border/etc. handled by
Photon Windows Manager (qnx application running) on remote host ?

Ian Zagorskih wrote:

“chris ormaniec” <> cormaniec@yahoo.com> > wrote in message
news:> 3C8FA618.2556FBB1@yahoo.com> …
Is there a way to change the pwm options in phrelay
(currently -WtRctm)
so that the phindows title bar does not show up? I’d like to start my
photon app without the Phindows window around it, to make it look like
a
true ms-windows app.

As i understood from this, you want to disable PWM to draw window title,
border, control buttons. etc. around your photon application so you can see
only window components which belong to phindows’s window and it really looks
like a pure win32 application i.e. phindows works as pwm [supplies window]
and your application just supplies data for this “window”.

We use the following /etc/config/phrelay scheme (Mine game used as an
example):

— phrelay –
phmine % -WPWRcbtfr /usr/photon/bin/ph.run /usr/bin/photon/mine -x1 -y1
— end —

— /usr/photon/bin/ph.ru —
#!/bin/sh
if [ “$PHOTON” != “” ]; then
chmod go-rwx $PHOTON
fi
if [ “$1” != “” ]; then
$@
fi
— end —

Works fine and Photon’s driven phmine looks like a true win32
application on
mine win2k desktop > :slight_smile:

// wbr

// wbr

Sorry - the phindows title bar refers to the ordinary windows applicaton on the
local host. My qnx application running has it’s own title icon, along with the
min, max, and close buttons. When I run it within phindows, I see the phindows
title bar, with only my application title sent to the phindows title, therefore
losing the control of the min, max, and close buttons. If there is no way to
not draw the phindows title bar, then should I be looking for a close event on
the phindows window? Thanks for you help…

Ian Zagorskih wrote:

“chris ormaniec” <> cormaniec@yahoo.com> > wrote in message
news:> 3C90BA65.C8806ACF@yahoo.com> …
Thank you - but the phindows title bar still appears. The -WtPWRcbtfr
will
add the task bar so that my application windows can be minimized, but the
phindows min, max, and close buttons appear instead of my own application
title
bar. Is it possible to only have my application title bar appear, or do I
have
to look for a phindows close event in my own application in order to
perform
cleanup?

Maybe i’m missing smth, but what do you mean by “phindows title bar then” ?
:slight_smile: > Is it window’s title/border/etc. handled by phindows (ordinary windows
application) on local host or it is window’s title/border/etc. handled by
Photon Windows Manager (qnx application running) on remote host ?

Ian Zagorskih wrote:

“chris ormaniec” <> cormaniec@yahoo.com> > wrote in message
news:> 3C8FA618.2556FBB1@yahoo.com> …
Is there a way to change the pwm options in phrelay
(currently -WtRctm)
so that the phindows title bar does not show up? I’d like to start my
photon app without the Phindows window around it, to make it look like
a
true ms-windows app.

As i understood from this, you want to disable PWM to draw window title,
border, control buttons. etc. around your photon application so you can see
only window components which belong to phindows’s window and it really looks
like a pure win32 application i.e. phindows works as pwm [supplies window]
and your application just supplies data for this “window”.

We use the following /etc/config/phrelay scheme (Mine game used as an
example):

— phrelay –
phmine % -WPWRcbtfr /usr/photon/bin/ph.run /usr/bin/photon/mine -x1 -y1
— end —

— /usr/photon/bin/ph.ru —
#!/bin/sh
if [ “$PHOTON” != “” ]; then
chmod go-rwx $PHOTON
fi
if [ “$1” != “” ]; then
$@
fi
— end —

Works fine and Photon’s driven phmine looks like a true win32
application on
mine win2k desktop > :slight_smile:

// wbr

// wbr

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

Sorry - the phindows title bar refers to the ordinary windows applicaton
on the
local host. My qnx application running has it’s own title icon, along
with the
min, max, and close buttons. When I run it within phindows, I see the
phindows
title bar, with only my application title sent to the phindows title,
therefore
losing the control of the min, max, and close buttons. If there is no way
to
not draw the phindows title bar, then should I be looking for a close
event on
the phindows window? Thanks for you help…

Ian Zagorskih wrote:

Ah, not i understand. As far as i know you can only map title bar’s string
from photon application to phindows title bar but if you display controls on
your photon applcation’s title bar they are handled independantly by pwn and
events are not passed to phindows i.t. when you minimize application inside
phindows you don’t minimize phindows itself. Maybe just use phindows as
“window manager” instead of pwm (hide it with switches) ? It works fine when
your application includes only one main window. Not sure how well it looks
when there are several windows inside photon application specially when you
can min/max/restore them etc…

So mine answer is: afaik you cannot map controls from pwm window to phindows
window except title bar string :slight_smile:

// wbr