Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using the Selprint Method of a RichText Control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Using the Selprint Method of a RichText Control
Divers
Thread ID:
00199808
Message ID:
00199808
Vues:
40
I am sure this has been answered before but I missed it.

I need to use the selprint function of a RichText Control.
Unfortunately it requires the following

hdc -- Thedevice context of the device you plan to use to print the
contents of the control.

and

Note If you use the Printer object as the destination of the text
from the RichTextBox control, you must first initialize the device
context of the Printer object by printing something like a zero-length
string.

Assuming I have the name of the printer or I just want to print to the
default printer.

What are the api calls to get the hdc and to send through a zero
length string?

Thanks in advance.

Jacob Bruner
ClassyComponents
Jacob@ClassyComponents.Com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform