This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Disable Windows key?


Disable Windows key?

Postby Anthrax » Aug 2, 2001 @ 12:54pm

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....
Anthrax

"When I found the skull in the woods, the first thing I did was call the police. But then I got curious about it. I picked it up, and started wondering who this person was, and why he had deer horns." --Jack Handey
Anthrax
pm Member
 
Posts: 60
Joined: Jul 11, 2001 @ 2:24pm


Re: Disable Windows key?

Postby Matt Keys » Aug 3, 2001 @ 4:27pm

what if you bind the key to do something in quake? or is it non-bindable?
Matt Keys
Co-Founder
PocketMatrix.com
User avatar
Matt Keys
Site Co-Founder
 
Posts: 3243
Joined: Jan 24, 2001 @ 7:29pm
Location: Michigan, USA


Re: Disable Windows key?

Postby Dan East » Aug 3, 2001 @ 6:11pm

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
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Re: Disable Windows key?

Postby Moose or Chuck » Aug 3, 2001 @ 6:23pm

Larry's a loser, he created sappy GAPI.
Moose or Chuck
 


Re: Disable Windows key?

Postby Matt Keys » Aug 3, 2001 @ 6:35pm

well thats not very nice.
Matt Keys
Co-Founder
PocketMatrix.com
User avatar
Matt Keys
Site Co-Founder
 
Posts: 3243
Joined: Jan 24, 2001 @ 7:29pm
Location: Michigan, USA


Re: Disable Windows key?

Postby Moose or Chuck » Aug 3, 2001 @ 7:30pm

hehe
Moose or Chuck
 


Re: Disable Windows key?

Postby Anthrax » Aug 6, 2001 @ 12:51pm

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>
Anthrax

"When I found the skull in the woods, the first thing I did was call the police. But then I got curious about it. I picked it up, and started wondering who this person was, and why he had deer horns." --Jack Handey
Anthrax
pm Member
 
Posts: 60
Joined: Jul 11, 2001 @ 2:24pm


Re: Disable Windows key?

Postby Jaybot » Aug 6, 2001 @ 4:05pm

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
-------
|\\ //|
-- ^ --
|||
User avatar
Jaybot
pm Insider
 
Posts: 3208
Joined: Mar 22, 2001 @ 10:04pm
Location: Desk.


Re: Disable Windows key?

Postby Moose or Chuck » Aug 6, 2001 @ 4:22pm

jaybot's so super smart!!
Moose or Chuck
 


Re: Disable Windows key?

Postby RavenRay » Aug 6, 2001 @ 4:30pm

LOL!  
"A rose blossom best at near death........and your at full bloom"
RavenRay
pm Member
 
Posts: 422
Joined: Jun 8, 2001 @ 11:52am


Re: Disable Windows key?

Postby Moose or Chuck » Aug 6, 2001 @ 5:02pm

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.
Moose or Chuck
 


Re: Disable Windows key?

Postby Dan East » Aug 7, 2001 @ 2:36pm

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
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Re: Disable Windows key?

Postby Moose or Chuck » Aug 7, 2001 @ 5:45pm

Well then, we'll keep that in mind, Dan. Thanks for the help.
Moose or Chuck
 


Re: Disable Windows key?

Postby Anthrax » Aug 7, 2001 @ 9:32pm

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.)
Anthrax

"When I found the skull in the woods, the first thing I did was call the police. But then I got curious about it. I picked it up, and started wondering who this person was, and why he had deer horns." --Jack Handey
Anthrax
pm Member
 
Posts: 60
Joined: Jul 11, 2001 @ 2:24pm


Re: Disable Windows key?

Postby BooBoo » Dec 5, 2001 @ 1:15pm

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
BooBoo
 


Next

Return to Windows Mobile


Sort


Forum Description

General Windows Mobile discussion for end-users. Hardware, software, etc. This is also the forum to post your product announcements and other news.

Moderators:

Dan East, sponge, Kevin Gelso, RICoder, Chris Edwards

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum