Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open a normal window
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00760228
Message ID:
00760346
Vues:
12
#DEFINE SW_SHOWNORMAL     1
#DEFINE SW_SHOWMINIMIZED  2
#DEFINE SW_SHOWMAXIMIZED  3 

DECLARE INTEGER ShellExecute IN shell32;
	INTEGER hwnd, STRING lpOperation,;
	STRING lpFile, STRING lpParameters,; 
	STRING lpDirectory, INTEGER nShowCmd

* opens the bitmap in a maximized window
= ShellExecute (0, "open", "C:\WINDOWS\TILES.BMP", "", "", SW_SHOWMAXIMIZED)

* opens containing folder in a normal window
= ShellExecute (0, "open", "C:\WINDOWS", "", "", SW_SHOWNORMAL)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform