Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printscreen from VFP?
Message
De
25/11/1997 10:05:46
 
 
À
25/11/1997 09:43:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00062108
Message ID:
00062143
Vues:
24
>You can take complete control of the Printscreen button from the windows API, but this is very involved and tricky. It involves capturing the Clipboard as a DIB image and transferring it to the printer and requires extensive C++ knowledge.
> See: GetClipBoardViewer(),SetClipboardViewer,ChangeClipboardChain()
>If you are not adventurous enough to venture into this you can get ready made Printscreen utilities for Win95 and NT, specifically PrintNow was profiled in the 4/22/97 issue of PC magazine, it is a utility that sits in the system tray and activated by print screen, works with DOS apps under windows too and includes the source code. It is a very good utlity and might fulfill your needs without repeating all the ugly C work already done by someone else !
>
>Robert Horkay

Well, I WAS looking for a simple (easy+fast) way to do this. It seemed to me that since I can hit the ALT+PrintScrn key in VFP, open up Word, hit the 'Paste' button and then the print button to print the screen (or alternatively use the 'print' button from the VFP menu and select 'Clipboard'), there would be an simple way to do this work for the user from within VFP. Perhaps not!
I looked in VFP3.0 help for GetClipBoardViewer(), etc. but found nought! Pehaps this is available in VFP5.0?
I will look into the PrintNow utility you reference above unless Dave J. (other thread fork) can help out.
Thanks,
Dave D.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform