Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to printing the current form to the printer?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00106560
Message ID:
00107143
Views:
15
>
>Hello,
>
>I have just tried outthe code that was shown to us here but UI experienced some problems. It does not work always. Of course, there is another problem : it captures the entire screen and not only the active window ... or am I missing something here ?
>
>Pat
There are a couple of things here. One, the documentation (Win32.hlp) indicates that passing a 1 returns the active window, and 0 the entire Windows desktop. My experience is that it's the other way around. Two, the term active window, does not apply to child windows. Now if a form is defined as a desktop form, and is active, you should get just the form itself. I haven't tested it, but given the behavior of the call, I would guess that this is the case.
George

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

Click here to load this message in the networking platform