INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Disable Keyboard Shortcuts

Disable Keyboard Shortcuts

(OP)
We have a Clipper application running under Windows that is set to run in full-screen mode via the Screen Tab in the Properties of the program's Desktop Icon.  Thus, the program never runs in a window.  Exit from the program is controlled by a password.

Although we offer a special keypad tailored to the application, the program also supports use of a standard keyboard, which some customers choose to use to avoid the cost of the keypad.  (The keypad can be used standalone or have a standard keyboard connected to it in parallel for using other applications on the system.)

We have run into some situations where only a standard keyboard is used and end users "fiddle with key combinations" and activate Keyboard Shortcuts with undesirable results -- e.g. Alt+Tab restores the Desktop and places the program in the Task Bar; Ctrl+Esc displays the Start Menu and places the program in the Task Bar, as does pressing the "Windows" key; etc.  These results confuse end users and threaten system security.

Is there any way of disabling Windows Keyboard Shortcuts within Clipper code?

Note that the nature of the customer environment is such that running the application under Windows is important.  The staff starts the program from a Desktop Icon and end users use our application for most of the day.  However, the staff uses the computer for other applications at various times and, therefore, need to be able to control the startup and shutdown of our application.

RE: Disable Keyboard Shortcuts

Sware,

In Win98 and 2000 (and probably in XP also) there is a tab in the "Properties" of the PIF on the desktop that allows you to disable almost all the CTRL- and ALT- combinations used by windows to navigate from within your application through the desktop and other windows functions.

In Win98 and 2000 this tab is the rightmost one, called "Miscelanous". I'm not sure what is the title used in english as I'm used to read it in Portuguese.

It will not cover all your fears but some of them may be left in past...

Ulisses
mbinfo

RE: Disable Keyboard Shortcuts

(OP)
Thank you for a good suggestion even though the PIF method does not cover all the "key fiddling" possibilities.  We have confirmed that we cannot control things in the Clipper code.  We have also discovered a shareware program called Tradekeys that provides disabling of the Windows shortcut keys.  However, because of keyboard handling variations among different Windows systems, it does not handle all of the key combinations on 95, 98 and Me systems.  It provides complete coverage under XP.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close