Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hide Windows Task Bar
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00512043
Message ID:
00512323
Views:
14
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
By two common phrases in his vocabulary, we know Hercule Poirot was a great Developer: his use of "the little grey cells" and "order and method".
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform