home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BUG 15
/
BUGCD1998_06.ISO
/
desktop
/
hotkey
/
hotkey95.exe
/
Source
/
Hotkeys.dpr
< prev
next >
Wrap
Text File
|
1998-02-13
|
829b
|
33 lines
program HotKeys;
uses
Forms,
Windows,
hkEdit in 'hkEdit.pas' {frmHotkeyEdit},
hkAbout in 'hkAbout.pas' {frmAbout},
hkError in 'hkError.pas' {frmHotkeyError},
hkList in 'hkList.pas' {frmHotkeyList},
hkSend in 'hkSend.pas';
{$R *.RES}
var
hwndApp : THandle;
begin
hwndApp := FindWindow('TfrmHotkeyEdit', nil);
if hwndApp<>0 then
SendMessage(hwndApp, WM_EDITKEYS, WM_EDITKEYS, 0)
else
begin
Application.Initialize;
Application.Title := 'HotKeys';
Application.HelpFile := 'Hotkeys.hlp';
Application.CreateForm(TfrmHotkeyEdit, frmHotkeyEdit);
Application.CreateForm(TfrmAbout, frmAbout);
Application.CreateForm(TfrmHotkeyError, frmHotkeyError);
Application.CreateForm(TfrmHotkeyList, frmHotkeyList);
Application.Run;
end;
end.