Title: Hide the TaskBar
If you need to hide the Windows-Taskbar for your application you need to follow this steps:
var
wndClass: Array[0..50] of Char;
wndHandle: THandle;
1) We need the TaskBar-class:
StrPCopy(@wndClass[0], 'Shell_TrayWnd')
2) We need the TaskBar-handle:
wndHandle := FindWindow(@wndClass[0], nil)
3) Now we can simply show/hide the Taskbar:
Show: ShowWindow(wndHandle, SW_SHOW)
Hide: ShowWindow(wndHandle, SW_HIDE)
That's all...
If you need this source as a Delphi component, please visit our homepage:
http://www.apriori.de/index.htm?delphi