Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing full screen
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00257581
Message ID:
00257602
Views:
17
>The Obj2Bmp project that I uploaded can do this with a little extra work. Did you want a screen dump to the printer? a file? another application? Plus I'm right here for tips< g >.
>
>Hi George - just a full screen dump to printer, like we once could do from the keyboard back in Win3.1, I think, until progress bypassed it < s >

If you haven't downloaded it yet, do so. All you'll need from it is the two NVC classes in the class library, and the include file (RGB_256.H). You can copy them into a separate class if you like.

The all you need do is create the BMPMaker object and call the MakeBitMap() method of it with the window handle of interest. This will return a file name, randomly generated, once you have that, you can call ShellExecute() to print it (as outlined in the documentation).

Just one note. For some reason full screen shots are off by one or two pixels to the right. Windows that do not fill the screen are exact. I've never been able to figure out why.

I've had some terrific responses about it. People are telling me that the full app is saving them hours in documenting their projects. So even if you can't used it here, you might want to take a look anyway.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform