Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print Screen in VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00113820
Message ID:
00165294
Vues:
21
>
>
>>I have used this solution and it works pretty good. My question is there anyway that it would only print the active window in the FoxPro screen?
>>DLC
>
>Sure, all you need is the handle for the active window. Use the GetFocus API call to get the handle then call the PrintWindow routine. This is the Printform method from my base form class.
>
>
>DECLARE INTEGER GetFocus IN WIN32API
>oApp.PrintWindow(GetFocus(), oApp.cApplicationName + ": " + THISFORM.Caption)
>RETURN
>
Thanks for the API call! It works like a champ.
DLC
DLC
"Use the Right Tool for the Job!"
davidandcynthia@email.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform