Page 1 of 2

Disable Windows key?

PostPosted: Aug 2, 2001 @ 12:54pm
by Anthrax
Anyone have an app or a trick to disabling the Windows key on the Jornada 720?  It's darned annoying when you hit it while gaming and the start menu fights for control with Quake....

Re: Disable Windows key?

PostPosted: Aug 3, 2001 @ 4:27pm
by Matt Keys
what if you bind the key to do something in quake? or is it non-bindable?

Re: Disable Windows key?

PostPosted: Aug 3, 2001 @ 6:11pm
by Dan East
Actually, that responsibility falls to Larry's custom GAPI library for HPC/Pro. It should send the Window Key keypress as just another key event, instead of allowing the OS to process it. <br><br>Dan East

Re: Disable Windows key?

PostPosted: Aug 3, 2001 @ 6:23pm
by Moose or Chuck
Larry's a loser, he created sappy GAPI.

Re: Disable Windows key?

PostPosted: Aug 3, 2001 @ 6:35pm
by Matt Keys
well thats not very nice.

Re: Disable Windows key?

PostPosted: Aug 3, 2001 @ 7:30pm
by Moose or Chuck
hehe

Re: Disable Windows key?

PostPosted: Aug 6, 2001 @ 12:51pm
by Anthrax
I emailed Larry for insight on this and he was nice enough to promptly reply, as follows:<br><br>"I don't have any direct experience with this problem, but my best guess is that you can get the handle to the tray window and put it behind your app window in the z order or just temporarily disable the window while your app is running."<br><br>Not being a programmer, I only half-understand the response.  If someone else has any idea I'd love to hear it.<br><br>

Re: Disable Windows key?

PostPosted: Aug 6, 2001 @ 4:05pm
by Jaybot
I took a couple of years in programmereez; Let me translate for you:<br><br> "I don't have any direct experience with this problem (because I do not own a 720, nor have I ever touched or seen one), so I have no idea how I screwed up the code.  But my best guess is that you can get the handle to the tray window and put it behind your app window in the z order (??? I'm just making up non-sensical words so that you will be confused and I will end up sounding smart by pretending to answer your question instead of working on the problem)  or just temporarily disable the window while your app is running  (fix it yourself, Because I don't know how!)." - Larry

Re: Disable Windows key?

PostPosted: Aug 6, 2001 @ 4:22pm
by Moose or Chuck
jaybot's so super smart!!

Re: Disable Windows key?

PostPosted: Aug 6, 2001 @ 4:30pm
by RavenRay
LOL!  

Re: Disable Windows key?

PostPosted: Aug 6, 2001 @ 5:02pm
by Moose or Chuck
I didn't know you could get a handle on the tray window. I doubt Larry knows what's going on, he's just guessing.

Re: Disable Windows key?

PostPosted: Aug 7, 2001 @ 2:36pm
by Dan East
Use Windows CE Remote Spy and look through the Windows List. I don't know if the Taskbar owns the tray, or if it is a seperate window. If the Taskbar owns it then the class is HHTaskBar. The following is the code:<br>[fixed]<br>HWND hWnd=FindWindow(_T("HHTaskBar" ), NULL);<br>if (hWnd)<br>  SetWindowPos(hWnd, HWND_BOTTOM, 0, 0, 0, 0,<br>    SWP_NOMOVE|SWP_NOREDRAW|SWP_NOSIZE);<br>[/fixed]<br><br>If that doesn't work then you may try calling SetWindowPos with the second parameter being your application's main HWND. The key will be to use the correct window class name that corresponds with the system window that processes the Windows key. Spy is a great program to determine such things... Also, you may need to restore the TaskBar's (or Tray's) original z-order (when your app closes or looses activation) for it to work right and be able to trap certain keypresses.  <br><br>For those of you trying to follow this, a "window class" is not the same thing as a C++ Class.<br><br>Dan East

Re: Disable Windows key?

PostPosted: Aug 7, 2001 @ 5:45pm
by Moose or Chuck
Well then, we'll keep that in mind, Dan. Thanks for the help.

Re: Disable Windows key?

PostPosted: Aug 7, 2001 @ 9:32pm
by Anthrax
Thanks Dan.  I'm, um, assuming this is something akin to a registry edit and going off to dig up Remote Spy to see what it looks like, but I sense that this may be over my head.  (My programming experience consists of reading the first 40 pages of "C++ for Dummies" twice, then moving on to something with less math, like Playboy.)

Re: Disable Windows key?

PostPosted: Dec 5, 2001 @ 1:15pm
by BooBoo
Call me ignorant, but I have not been able to find any info to install PQ on the jornada 720.  I haven't been to the forum for a few months (I know, shame on me) but I haven't seen anywhere listing support for the 720.<br><br>If its true (!!!), could someone please send me the info (email or post)?<br><br>I have been an avid reader of this forum for a while eventhough there was no support for my device.  The entertainment value alone is worth the wait (56k modem) for page loads.  I won't know what to do if I can actually play!!!<br><br>You guys are the greatest!!!<br>BooBoo