Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using the Selprint Method of a RichText Control
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Using the Selprint Method of a RichText Control
Miscellaneous
Thread ID:
00199808
Message ID:
00199808
Views:
39
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
Next
Reply
Map
View

Click here to load this message in the networking platform