Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2001-08-31
4
Medium Priority
?
482 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 900 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

824 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