(CodeLib-Manager)
Registriert seit: 10. Jun 2002
4.648 Beiträge
Delphi XE Professional
|
Re: Systray leeren/disablen
26. Jan 2005, 17:43
Mein WinSpy erzeugt folgenden Code:
Delphi-Quellcode:
var
wnd: HWND;
begin
wnd := FindWindow('Shell_TrayWnd','');
wnd := FindWindowEx(wnd, 0, 'TrayNotifyWnd', nil);
wnd := FindWindowEx(wnd, 0, 'SysPager', nil);
wnd := FindWindowEx(wnd, 0, 'ToolbarWindow32', nil);
if wnd <> 0 then
begin
ShowWindow(wnd, SW_HIDE);
end;
end.
Thomas
|
|
Zitat
|