>This function will help you
>
>to hide:
>=HideTaskBar(.T.)
>
>to show:
>=hidetaskbar(.f)
>
>
>FUNCTION HideTaskBar(TaskBarHidden)
>TaskBarStatus=TaskBarHidden
>#DEFINE SW_NORMAL 1
>#DEFINE SW_HIDE 0
>DECLARE LONG ShowWindow IN WIN32API LONG, LONG
>DECLARE LONG FindWindow IN WIN32API STRING, STRING
>hWnd=FindWindow("Shell_TrayWnd","")
>IF hWnd=0
>RETURN
>ELSE
>lngState=IIF(TaskBarStatus, SW_HIDE, SW_NORMAL)
>=ShowWindow(hWnd,lngState)
>ENDIF
>ENDFUNC
Wonderful Function, I can give 90 marks if it is a homework.. :) kidding!
but, need to further disable [Win] Key or [CTRL+ESC] to open the
Start Menu!
2nd, there is a problem, if Some other application already run in taskbar,
such as WinWord, [ALT+TAB] can switch to another application.
Of cos, the original Foxpro application need sure disable
_SCREEN.minmize, resize button....
Otherwise, user may boot PC.. -_-
If possible make a special short-cut to visible the taskbar for emergery admin use.
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.