Blocking the 'Windows keys' doesn't work. Why?
William de Smet
williamdesmet at gmail.com
Tue Nov 24 03:27:28 EST 2009
Hi there Jim,
I place my code as a 'stack script'.
I use it to make a fullscreen app in which I also block the arrowkeys, the
menubar and the taskbar.
On Windows when you hit the 'Windows key' I don't want it to respond because
otherwise you will still see the taskbar and the startmenu.
I used the code suggested on the mailinglist before but it doensn't work,
which means: I still get the taskbar and the startmenu when I hit the
'Windows key'. Hopes this explains my 'problem'.
Can anyone help me to block the Windows key?
greetings,
William
2009/11/23 Jim Bufalini <jim at visitrieve.com>
> William,
>
> > Hi there all,
> >
> > Can someone explain to me why blocking the Windows keys doesn't work?
> > As suggested a while ago on this forum I use the following code:
> >
> > *
> > *
> >
> > *---*
> >
> > *on* rawKeyDown theKeyNumber
> >
> > *if* theKeyNumber is not 65388 and theKeyNumber is not 65389
> >
> > *then*
> >
> > *pass* rawKeyDown
> >
> > *end* *if*
> >
> > *end* rawKeyDown
> >
> >
> > *on* rawKeyDown pKey
> >
> > *if* pkey <> 65388 and pkey <> 65389 *then* *pass* rawKeyDown
> >
> > *end* rawKeyDown
>
> If you are going to get an answer to this question, you need to be more
> specific about where you placed this code and what you mean by "doesn't
> work."
>
> Aloha from Hawaii,
>
> Jim Bufalini
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list