Ne Luckie, ist es nicht dann wäre es ja einfach ich würde es einfach ändern. Warum leicht wenn es auch schwer geht.
Folgendes klappt schon mal nicht hab ich versucht:
Delphi-Quellcode:
SetWindowLong(
Handle, GWL_STYLE, GetWindowLong(
Handle, GWL_STYLE)
and not WS_CAPTION);
// hierbei kommt nichts an war auch fast klar da fremder Prozess
dwThreadID := GetWindowThreadProcessId(
Handle,
nil);
OldWndProc := SetWindowsHookEx(WH_CALLWNDPROC, @NewWndProc, 0, dwThreadID);
// Das zB. geht aber da hab ich das Problem mit der Größe die von Windows limitiert wird
i1 := GetSystemMetrics(SM_CYCAPTION);
i2 := GetSystemMetrics(SM_CYSIZEFRAME);
SetWindowPos(
Handle, HWND_TOPMOST,0-i2, 0-(i1+i2), Screen.Width+(i2*2),
Screen.Width+((i1+i2)*2), SWP_SHOWWINDOW);