Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to minimize/maximize other running application
Message
De
02/08/2001 21:43:15
 
 
À
02/08/2001 21:17:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00539185
Message ID:
00539194
Vues:
11
>how to progmatically minimized/maximized other running application
>
>thanx
>rommel




Use WinAPI to do:

Here is some references.

Declare integer FindWindow string string
Declare integer BringWindowToTop nnHwd
Declare integer SetActiveWindow nnHwd
Declare integer SetForegroundWindow nnHwd


You need to know the Window Title, then get the hwnd value by FindWindow API call.
Afterwards, you can SetActiveWindow to that hwnd as you want.

If you really want to minmize some window, it will be easy if you use
keybd_event API to minimize it.

There are many API example call in UT.
Pls read some at

http://www.levelextreme.com/Live/Api.asp
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform