Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Oct : Hide Taskbar

www.cryer.info
Managed Newsgroup Archive

Hide Taskbar

Subject:Hide Taskbar
Posted by:"Andrew Jameson" (andrewjjamesonno@spamgmail.com)
Date:Sat, 15 Oct 2005 16:45:06 +0100

Yes, the old chestnut ... how do you hide the taskbar ?

The standard approach is to do a ShowWindow(FindWindow
('Shell_TrayWnd',nil), SW_HIDE) etc.

But ... if you're running Sophos virus scanner, it obligingly turns the
taskbar back on again !  Of course a timer can keep it turned off but then
it flickers !

I've come across :
SendMessage(Findwindow('Shell_TrayWnd', nil), ABN_FULLSCREENAPP, 0, 0);
but all this really does is to destroy the taskbar - WM_DESTROY =
ABN_FULLSCREENAPP.

That certainly works but how to reinstate it ?

So any ideas on how to temporarily hide the taskbar without 3rd party apps
turning it back on again ?

Andrew

Info

Replies:

www.cryer.info
Managed Newsgroup Archive