Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2002.09.05;
Скачать: CL | DM;

Вниз

господа возможно ли перехватить ножатие на del   Найти похожие ветки 

 
Alexsandri ©   (2002-08-11 12:12) [0]

и запретить удаление файлов


 
Anatoly Podgoretsky ©   (2002-08-11 14:08) [1]

ДА


 
Shrek ©   (2002-08-11 16:21) [2]

Please!

unit Unit1;

interface

uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;

type
TForm1 = class(TForm)
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
procedure WMHotkey( Var msg: TWMHotkey ); message WM_HOTKEY;
public
{ Public declarations }
end;

var
Form1: TForm1;

implementation

{$R *.dfm}

Procedure TForm1.WMHotkey(Var msg: TWMHotkey);
var h : hWnd;
Begin
If msg.hotkey = 1 Then Begin
If not IsIconic(Application.Handle) Then
begin

ShowMessage("Ну-ну");
end;
BringToFront;
End;
end;

procedure TForm1.FormCreate(Sender: TObject);
begin
If not RegisterHotkey (Handle, 1, 0, VK_DELETE) Then
ShowMessage("Error hootkey");
end;

end.



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

Текущий архив: 2002.09.05;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.02 c
8-14188
Чокнутый
2002-04-29 15:22
2002.09.05
Графика в Delphi


1-14035
Up
2002-08-26 06:31
2002.09.05
Cкрытые ключи реестра


3-13873
Grrey
2002-08-16 14:21
2002.09.05
Почему-то не работают UDF!


1-14132
nv-vetal
2002-08-24 12:33
2002.09.05
Как пересчитать все папки (файлы) в определенной папке?


1-14064
Ettore
2002-08-27 09:59
2002.09.05
реестр Windows: считывание Value Name (Default)