Disabling Key-shortcuts

bridged with qdn.public.photon
Post Reply
Krupa

Disabling Key-shortcuts

Post by Krupa » Wed Oct 22, 2003 2:09 pm

Hi,

We have developed an application program using Photon application builder
with Photon 1.13. We would like to configure the system using our GUI in
such a way that Photon taskbar/desktop manager will not be offered to the
user. Only the graphical application will be invoked at startup of system .
The application program provides the user with a menu driven interface. Also
implemented features can be used with the help of mouse clicks or keyboard
shortcuts. We would like to ensure that if user tries to play with key
combinations or tries standard short-cuts like ALT+TAB, the
application/pohton must not malfunction/exit/close.

We tried following key combinations :- ATL+F1, ALT+F2,....., ALT+12,
Ctrl+F1, Ctrl+F2,.......Ctrl+F12 with our application running. We could
observe that the application and/or photon GUI end the instance if we use
several combinations. Is there any way of blocking such short-cuts without
affecting the features implemented for our application?

Thanks,
Krupa

Bill Caroselli

Re: Disabling Key-shortcuts

Post by Bill Caroselli » Wed Oct 22, 2003 2:09 pm

Krupa <seto@vsnl.com> wrote:
K > Hi,

K > We have developed an application program using Photon application builder
K > with Photon 1.13. We would like to configure the system using our GUI in
K > such a way that Photon taskbar/desktop manager will not be offered to the
K > user. Only the graphical application will be invoked at startup of system .
K > The application program provides the user with a menu driven interface. Also
K > implemented features can be used with the help of mouse clicks or keyboard
K > shortcuts. We would like to ensure that if user tries to play with key
K > combinations or tries standard short-cuts like ALT+TAB, the
K > application/pohton must not malfunction/exit/close.

K > We tried following key combinations :- ATL+F1, ALT+F2,....., ALT+12,
K > Ctrl+F1, Ctrl+F2,.......Ctrl+F12 with our application running. We could
K > observe that the application and/or photon GUI end the instance if we use
K > several combinations. Is there any way of blocking such short-cuts without
K > affecting the features implemented for our application?

K > Thanks,
K > Krupa

Long, long ago, in a company far, far away, I had a startup script
that looked like this:

#!/bin/sh
echo "Loading Blah-Blah Application"

if [ ! -r /dev/shmem/phlib_s11 ]; then
/usr/photon/bin/phlib_s11
fi
if [ ! -r /dev/shmem/Aplib_s11 ];then
/usr/photon/bin/Aplib_s11
fi

/blahblah/bin/init ; # this loaded background server processes
export PHPDM_DISABLE=yes
export PHWMOPTS="-STW"
export LOGNAME=root
/usr/bin/ph &
sleep 15
/blahblah/bin/PHmenu &


--
Bill Caroselli -- Q-TPS Consulting
1-(708) 308-4956 <== Note: New Number
qtps@earthlink.net

Post Reply

Return to “qdn.public.photon”