Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printscreen from VFP?
Message
De
25/11/1997 13:16:29
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00062108
Message ID:
00062201
Vues:
25
>>>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.
>If you search the knowledge base you should find some instructions and code for doing a printscreen for VFP. If you can't find it let me know, I have it stashed somewhere on my computer somewhere. I actually implemented it in one of my apps so it does work.
>
>George

I looked at the titles of all the postings in the UT Knowledge Base, but didn't find any titles referncing this topic (found one for opening a Word97 doc in VFP, though, which might be half the battle of one way to do this). When you get the chance, I would appreciate it if you would lookup the info you have and send it to me. Thanks,
Dave D.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform