Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get focus to my VFP app from a VFP utility once c
Message
 
To
28/04/2007 10:28:16
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01220775
Message ID:
01221365
Views:
26
Hi Cetin

Here is a typical one
> declare short ShowWindow in WIN32API alias Win32ShowWindow ;
> integer hwnd, ;
> integer nCmdShow

With Tools > Beautify the ShowWindow becomes SHOWWINDOW, that is the reason I get the following error:
---------------------------
VSO Report Manager
---------------------------
Unhandled Error # 1754
Cannot find entry point SHOWWINDOW in the DLL.
---------------------------
OK
---------------------------
Back to CamelCase and the error goes away. Is this correct? Can you reproduce it?

Plus one more thing, if the app is minimized, the code cannot bring it to the state the window was. Is this possible? I tried SW_SHOW and SW_SHOWDEFAULT also but no joy.


> #define SW_SHOWMINIMIZED 2
> #define SW_SHOWMAXIMIZED 3
> #define SW_MAXIMIZE 3

1, 2, 3 :)
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