Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get focus to my VFP app from a VFP utility once c
Message
 
À
28/04/2007 10:28:16
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01220775
Message ID:
01221365
Vues:
25
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
___________________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform