Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
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"
Today is November 21, 2024, 3:54 am This article has been viewed 35207 times. Google search has resulted in 39 hits on this article since January 25, 2004.
|
|