Solved

disabling alt-f4

Posted on 2000-04-14
2
178 Views
Last Modified: 2010-04-04
how can i disable the hot key alt-f4 used to close programs in Windows 95/98/NT?
0
Comment
Question by:lgmm
2 Comments
 
LVL 17

Accepted Solution

by:
inthe earned 50 total points
ID: 2717804
hi,
you can disable this alt-f4 like so:

procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word;
  Shift: TShiftState);
begin
if (ssALT IN Shift) AND(Key = VK_F4) then
 Key:=0;
end;


Regards Barry
0
 

Author Comment

by:lgmm
ID: 2717912
Thanx, it works
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Title # Comments Views Activity
delphi exception 7 68
LAN or WAN ? 11 95
How to define IfThen functions in one common unit? 4 60
Delphi android app hide keyboard 3 17
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

828 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