...disable/enable /hide/show taskbar?
Autor: Babak Sateli
{
All you have to do is to obtain the window handle
of the taskbar window and then you can disable or hide it.
}
var
wndTaskbar: HWND;
begin
wndTaskbar := FindWindow('Shell_TrayWnd', nil);
if wndTaskbar <> 0 then
begin
EnableWindow(wndTaskbar, False); // Disable the taskbar
EnableWindow(wndTaskbar, True); // Enable the taskbar
ShowWindow(wndTaskbar, SW_HIDE); // Taskbar vertecken
ShowWindow(wndTaskbar, SW_SHOW); // Taskbar anzeigen
end;
end;
printed from
www.swissdelphicenter.ch
developers knowledge base