Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hide Windows Task Bar
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00512043
Message ID:
00512323
Vues:
15
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".
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform