>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement