SCAR Code:
program New;
function ShowWindow(hWND: HWND; nCmdShow: Integer): Boolean; external 'ShowWindow@user32.dll stdcall';
function SetWindowLong(hWnd: HWND; nIndex: Integer; dwNewLong: LongInt): LongInt; external 'SetWindowLongA@user32.dll stdcall';
function GetWindowLong(hWnd: HWND; nIndex: Integer): LongInt; external 'GetWindowLongA@user32.dll stdcall';
function FindWindow2(lpClassName: string; lpWindowName: string): HWND; external 'FindWindowA@user32.dll stdcall';
var
h: HWND;
procedure BringAppaBack;
begin
ShowWindow(h, 0);
SetWindowLong(h, -20, 0);
ShowWindow(h, 5);
end;
procedure HideAppa(TotalHide: Boolean);
var
a: string;
begin
a := 'Appa - Temporary weird name ' + IntToStr(Random(10000));
appa_Caption(a);
h := FindWindow2('', a);
appa_Caption('Appa');
ShowWindow(h, 0);
if TotalHide then Exit;
SetWindowLong(h, -20, GetWindowLong(h, -20) or $80);
ShowWindow(h, 5);
end;
begin
appa_ShowForm;
HideAppa(False);
Wait(2000);
BringAppaBack;
end.
Here's something to hide it from the taskbar, you'll need to have API-calls enabled.