Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
After splash screen the app typically gets focus in Wind
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
01075194
Message ID:
01076015
Views:
34
Hi Sergey

>Try ShowWindow() Win Api. See Using the ShowWindow API to display a form Message #1069604

Sorry about this but I did try out the code sample as below:
LOCAL lnHWND


#DEFINE SW_HIDE 0
#DEFINE SW_MAXIMIZE 3
#DEFINE SW_MINIMIZE 6
#DEFINE SW_RESTORE 9
#DEFINE SW_SHOW 5
#DEFINE SW_SHOWDEFAULT 10
#DEFINE SW_SHOWMAXIMIZED 3
#DEFINE SW_SHOWMINIMIZED 2
#DEFINE SW_SHOWMINNOACTIVE 7
#DEFINE SW_SHOWNA 8
#DEFINE SW_SHOWNOACTIVATE 4
#DEFINE SW_SHOWNORMAL 1


DECLARE INTEGER FindWindow IN USER32 AS FindWindowA ;
	STRING @Var1, ;
	STRING @Var2

DECLARE INTEGER SHOWWINDOW IN USER32 AS ShowWindowA ;
	INTEGER nHWnd, ;
	INTEGER nCmdShow


lnHWND = FindWindowA(0, _SCREEN.CAPTION)

IF lnHWND > 0
	ShowWindowA(lnHWND, SW_SHOWNORMAL)
ENDIF
but I get the following error:
Error #:    1754
Message:    Cannot find entry point FORM in the DLL.
Line #:     33
Code:       ShowWindowA(lnHWND, SW_SHOWNORMAL)
Method:     releasesplash
Object:     vso3
Any suggestion, or is it ath ShowWindow is not available in W2K?
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform