Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Maximize program window
Message
De
31/07/2001 15:34:01
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00536729
Message ID:
00537964
Vues:
11
>>
>>George, which API library is ShowWindow() in?
>
>User32.dll

Jackpot! In playing around with the calls, I had substituted SendMessage() for ShowWindow(), which didn't work. Once I got the syntax correct on ShowWindow(), it worked like a charm.

For the record, SW_MAXIMIZE (3) works and will always fully maximize the window, whether it's iconic or not. SW_RESTORE (9) maximizes if the window is iconic, but "restores" it to normal if it is maximized.

In hunting around I found WIN32API.TXT, a Visual Basic resource that defines the constant values for API routines. Besides UT, do you have a resource that would define other API routines and the libraries that hold them?
-Henry-
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform