Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing Rich TextBox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Printing Rich TextBox
Divers
Thread ID:
00313948
Message ID:
00313948
Vues:
87
I am trying to print the content of the rich text box, here is how i do it:


oCommonDialog.Flags = 0x100
oCommonDialog.ShowPrinter
oRichTextBox.SelPrint(oCommonDialog.hdc)


It Works fine but if the users press cancel on showPrinter(), i get an invalid hdc error message. I have 2 questions:

1. How could i avoid the error message ?
2. How could i print without showing the ShowPrinter() Dialog ?

Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform