Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows application WindowState(s)
Message
 
À
26/09/2001 04:37:55
Dennis Little
Ist Choice Travel
Glos, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00559929
Message ID:
00560894
Vues:
31
>George
>
>You were good enough to provide an example of the use of ShowWindow on the 25th September.
>
>Today, I am unable to locate either the question or your response.
>
>Could you please post your reply again?
>
>I remember it began -'Here goes' followed by a number of #DEFINEs
>
Dennis,

Sure Dennis. The reason you can't find is that the UT has "misplaced" yesterday's messages. Here goes
#define SW_HIDE             0
#define SW_SHOWNORMAL       1
#define SW_NORMAL           1
#define SW_SHOWMINIMIZED    2
#define SW_SHOWMAXIMIZED    3
#define SW_MAXIMIZE         3
#define SW_SHOWNOACTIVATE   4
#define SW_SHOW             5
#define SW_MINIMIZE         6
#define SW_SHOWMINNOACTIVE  7
#define SW_SHOWNA           8
#define SW_RESTORE          9
#define SW_SHOWDEFAULT      10
#define SW_FORCEMINIMIZE    11
#define SW_MAX              11

DECLARE INTEGER ShowWindow IN Win32API;
  INTEGER hwnd, INTEGER nCmdShow
* lnhwnd is the top-level window you want to change
= ShowWindow(lnhwnd, SW_MAXIMIZE) && Maximize the window
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform