Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to printing the current form to the printer?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00106560
Message ID:
00107143
Vues:
16
>
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform