Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
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, 7:24 am This article has been viewed 35208 times. Google search has resulted in 39 hits on this article since January 25, 2004.
|
|