Вниз
Скачать: CL | DM;

alt+f4   Найти похожие ветки 

 
Jenek   (2004-08-25 09:46) [0]

Как при использовании программы отключить сочетание клавиш Alt+F4


 
VMcL ©   (2004-08-25 09:56) [1]

OnCloseQuery
?


 
Vit@ly ©   (2004-08-25 10:00) [2]

public
 procedure AppMessage(var Msg: TMSG; var HAndled: Boolean);
end;

{...}

implementation

{...}

procedure TForm1.FormCreate(Sender: TObject);
begin
 Application.OnMessage := AppMessage;
end;

procedure TForm1.AppMessage(var Msg: TMSG; var Handled: Boolean);
begin
 Handled := False;
 case Msg.Message of
   WM_SYSKEYDOWN:
     if Msg.wParam = VK_F4 then
       Handled := True; // don"t allow ALT-F4
 end;
end;



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.023 c
1-1093035441
ИМХО
2004-08-21 00:57
2004.09.12
The specified module could not be found.


3-1092315895
DennisLNC
2004-08-12 17:04
2004.09.12
сортировка


3-1092584846
tERRORist
2004-08-15 19:47
2004.09.12
ADODataSet Output parameters and Resync


14-1093149042
ААМ
2004-08-22 08:30
2004.09.12
А ?


14-1092749155
Aleksandr.
2004-08-17 17:25
2004.09.12
Подскажите, кто работал с MemProof, что тут к чему!




   Наверх