Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FoxPro 2.6 and API
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00224528
Message ID:
00224783
Vues:
27
>Hi Christian,
>
>BringWindowToTop() exists in the 16 bit version of Windows. Of course, you'll have to load foxtools and use RegFN and CallFN like this:
>m.bringtop = RegFN("BringWindowToTop", "I", "I")
>* m.whnd is the handle of the window to bring to the top
>m.result = (CallFN(m.bringtop, m.whnd) # 0) && m.result will be .T. if it works
>As for getting the window handle. Check the download section for my Is_Run function (under Win32 and Other APIs titled "Is a Windows Application Running"). The file contains both 16 and 32 bit versions.
>
>hth,

Hi George,
Good stuff, it's working. With a small problem which I still have, that the window will not be restored(or maximized), if it is minimized.
I did not find out why, but maybe you have an idea.
Thank's alot so far!
Christian Isberner
Software Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform