>Hi:
>I´m beginning to programming a P.O.S. and I want to know if there
>is a way to hide the windows taskbar.
>
>TIA.
Try the following:
lparameters tlShowWindowsTaskBar
declare integer FindWindow in user32.dll string, integer
declare ShowWindow in user32.dll integer, integer
lnHandleTaskBar = FindWindow("Shell_TrayWnd", 0)
if tlShowWindowsTaskBar
ShowWindow(lnHandleTaskBar, 1)
DECLARE INTEGER SetForegroundWindow IN win32api INTEGER
set library to foxtools additive
SetForegroundWindow(MainHWnd())
else
ShowWindow(lnHandleTaskBar, 0)
endif
The reasons for the extra code at the the end is because making the Task Bar disappear makes your application lose system focus. This brings it to the fore front again.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao