` Printed Icetips Article

Icetips Article



Windows API: Hide the taskbar
2003-04-25 -- Dries Driessen
 
Newsgroups: comp.lang.clarion


I finally found it!

The taskbar is a window like any other. Thus:
ToggleTaskBar        PROCEDURE                        ! Declare Procedure

LOC:HIDDEN  BYTE,STATIC
TaskBar   HANDLE
WClass    LPCSTR('Shell_TrayWnd')
WName     LPCSTR('')
CODE

TaskBar = FindWindow(WClass, WName ) !WName)
if LOC:Hidden
    ShowWindow(TaskBar,SW_SHOWNORMAL)
    LOC:Hidden = false
  else
    ShowWIndow(TaskBar,SW_HIDE)
    LOC:HIDDEN = true
  end!if

"Dries Driessen"  wrote in message
news:3ea56589@news.softvelocity.com...
> Hi,
>
> I would like to hide the taskbar when a certain procedure runs.
> There has got to be an API call to accomplish this but I haven't been able
> to
> locate it.
>
> Any help will be much appreciated.
>
> Dries Driessen
> Valk Software
> The Netherlands
>
>
>



Printed November 21, 2024, 12:05 pm
This article has been viewed/printed 35208 times.
Google search has resulted in 39 hits on this article since January 25, 2004.