Solved

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

Posted on 2001-08-31
4
409 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
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.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

914 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now