Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Weird error hiding task bar
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Weird error hiding task bar
Miscellaneous
Thread ID:
01237167
Message ID:
01237167
Views:
64
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".
Next
Reply
Map
View

Click here to load this message in the networking platform