Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

deleting hot keys from a borland C++ builder 3 applicaiton

Posted on 2001-08-31
4
435 Views
Last Modified: 2008-02-01
I need to remove the ability for a user to use any hotkeys (i.e. CTL-ALT-DEL, ALT-TAB, etc) and I can't find any answers anywhere on this subject for Borland apps.
0
Comment
Question by:ron_gasior
4 Comments
 
LVL 30

Expert Comment

by:Axter
ID: 6446420
I don't believe this can be done for Widows NT.

There's a method for Win-95/98, but not for NT & 2000.
0
 
LVL 6

Expert Comment

by:thienpnguyen
ID: 6446455
Axtex is right. Here is the information for  Win 95/98

1. Hide an application from the CTRL-ALT-DEL dialog in Windows 95/98

    http://bcbdev.com/faqs/faq82.htm

2. Disable the CTRL-ALT-DEL dialog on Windows 95/98

    http://bcbdev.com/faqs/faq83.htm

0
 
LVL 2

Expert Comment

by:LoungeLizard
ID: 6447192
Although I don't know HOW, I believe it can be done. I have seen several apps running under windows NT (not sure about 2000) that has disabled CTRL+ALT+DEL, ALT+TAB, CTRL+ESC and so on. If I find anything I'll let you know.
0
 
LVL 14

Accepted Solution

by:
AlexVirochovsky earned 300 total points
ID: 6447316
I quote reply of Clemens Ladish to same Q:
...
ALT+TAB:
You can try to use a low level keyboard hook, but I guess this
will not work. Another possibility is a fullscreen WS_EX_TOPMOST
window, but the start menu still works IIRC.

If you want to prevent the user from switching to other
applications, then don't allow him to run them in the first place.
(policies, or replace the shell)

Ctrl+Alt+Del:
You have to write a custom GINA DLL with your own
WlxLoggedOnSAS function.
Look up "Winlogon and GINA" in the SDK docs.
(Borland's help files are outdated, better try
http://msdn.microsoft.com/library/psdk/logauth/winlogon_portal_2hb9.htm ).


HTH,
Clemens
...
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question