Information générale
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Here is a bit of a kludge...
DECLARE INTEGER FindWindow IN USER32 INTEGER, STRING
DECLARE INTEGER BringWindowToTop IN USER32 INTEGER
BringWindowToTop(FindWindow(0,windowname)) && BringWindowToTop(FindWindow(0,'Microsoft PowerPoint)
This assumes you always know the name of the window and the API functions work in your version of Windows.
Maybe better than nothing.
Gary
>I have developed a catalog management tool which uses the Powerpoint Slide Sorter to re-order items in the catalog database.
>
>When the PP app is launched (Oppt) , I maximize the PP window to obscure the VFP screen so that the user focuses on ordering the slides. When that is complete, the user closes the PP window and continues in VFP.
>
>On my office desktop (Windows XP) this strategy works fine, but on my laptop, the VFP window remains on top.
>
>I have tried using Oppt.Activate but this doesn't do the job.
>
>My app still works but it looks clunky with the VFP window sitting on top of the fullscreen PP window until the user clicks on it.
>
>Any suggestions?
>
>Jim Mathewson
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement