PC Review


Reply
Thread Tools Rate Thread

Disabling the App's shortcut keys

 
 
Thiago A.
Guest
Posts: n/a
 
      17th Feb 2004
HI,

How can i disable those 4 device shortcut keys on my fullscreen application?

Thanks!
 
Reply With Quote
 
 
 
 
=?Utf-8?B?RGFuIEFyZGVsZWFu?=
Guest
Posts: n/a
 
      17th Feb 2004
You will have to register the keys with your application. Have a look at the following topic
http://www.opennetcf.org/Forums/topic.asp?TOPIC_ID=283
 
Reply With Quote
 
doug
Guest
Posts: n/a
 
      17th Feb 2004
A different approach is to change registry to point the hardware buttons to
your application. In my app.inf file, I reset the following registry keys:

HKLM,SOFTWARE\Microsoft\Shell\Keys\40C1,,0x00000000,"""\Windows\Start
Menu\Dispatch.lnk"""
HKLM,SOFTWARE\Microsoft\Shell\Keys\40C1,ResetCmd,0x00000000,"""\Windows\Star
t Menu\Dispatch.lnk"""
HKLM,SOFTWARE\Microsoft\Shell\Keys\40C1,Icon,0x00000000,"\dispatch\dispatch.
exe, 0"
HKLM,SOFTWARE\Microsoft\Shell\Keys\40C2,,0x00000000,"""\Windows\Start
Menu\Dispatch.lnk"""
HKLM,SOFTWARE\Microsoft\Shell\Keys\40C2,ResetCmd,0x00000000,"""\Windows\Star
t Menu\Dispatch.lnk"""
HKLM,SOFTWARE\Microsoft\Shell\Keys\40C2,Icon,0x00000000,"\dispatch\dispatch.
exe, 0"
HKLM,SOFTWARE\Microsoft\Shell\Keys\40C3,,0x00000000,"""\Windows\Start
Menu\Dispatch.lnk"""
HKLM,SOFTWARE\Microsoft\Shell\Keys\40C3,ResetCmd,0x00000000,"""\Windows\Star
t Menu\Dispatch.lnk"""
HKLM,SOFTWARE\Microsoft\Shell\Keys\40C3,Icon,0x00000000,"\dispatch\dispatch.
exe, 0"
HKLM,SOFTWARE\Microsoft\Shell\Keys\40C4,,0x00000000,"""\Windows\Start
Menu\Dispatch.lnk"""
HKLM,SOFTWARE\Microsoft\Shell\Keys\40C4,ResetCmd,0x00000000,"""\Windows\Star
t Menu\Dispatch.lnk"""
HKLM,SOFTWARE\Microsoft\Shell\Keys\40C4,Icon,0x00000000,"\dispatch\dispatch.
exe, 0"

Works like a champ on a Symbol 2800. Don't know what happens on a different
device.

"Thiago A." <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
HI,

How can i disable those 4 device shortcut keys on my fullscreen application?

Thanks!


 
Reply With Quote
 
Geoff Schwab [MSFT]
Guest
Posts: n/a
 
      17th Feb 2004
The P/Invoke library contains an input sample that does this:

http://msdn.microsoft.com/library/en...PInvokeLib.asp

--
Geoff Schwab
Program Manager
Excell Data Corporation
http://msdn.com/mobility
http://msdn.microsoft.com/mobility/p...Q/default.aspx

This posting is provided "AS IS" with no warranties, and confers no rights.
This posting is provided "AS IS" with no warranties, and confers no rights.
"Thiago A." <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
HI,

How can i disable those 4 device shortcut keys on my fullscreen application?

Thanks!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
shortcut keys - howto find shortcut keys coltrane Microsoft Windows 2000 0 1st Jun 2005 03:25 PM
Simulating Access shortcut keys, and trapping F-keys press Amir Microsoft Access Forms 2 14th Aug 2004 05:21 AM
Disabling Windows Shortcut Keys =?Utf-8?B?Y2hyaXMgdnlkYXM=?= Windows XP General 5 15th Mar 2004 03:26 PM
Shortcut keys (Access keys) problem =?Utf-8?B?VGltIFBhdHJpY2s=?= Microsoft Dot NET Framework Forms 0 2nd Feb 2004 04:31 PM
Disabling Shortcut Hot Keys Dan Gesshel Microsoft Excel Programming 1 15th Sep 2003 09:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:06 AM.