Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Weird error hiding task bar
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Weird error hiding task bar
Divers
Thread ID:
01237167
Message ID:
01237167
Vues:
63
Hi Guys!

I have a code that use everytime I need to hide the task bar:
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
This code works fine always, but now I get the following error:
Cannot find entry point SHOWWINDOW in the DLL
This error appears on this line:
DECLARE LONG SHOWWINDOW IN WIN32API LONG , LONG
Any help would be appreciated. Thanks in advance!
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".
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform