A
active
While editing I'd like the RichTextBox display to look as the printed output
will look.
I believe EM_SETTARGETDEVICE does this. Not sure how to use it.
Do I give it the window handle of the textbox and the paper width or the
window handle of the printer and the paper width minus the left and right
offsets?
Will it really make the monitor display look like the printed output?
Any helpful comments will be appreciated,
Cal
ps
send message for EM_SETTARGETDEVICE, says
wParam
Handle to a device context for the target device.
is that a window handle or a HDC
will look.
I believe EM_SETTARGETDEVICE does this. Not sure how to use it.
Do I give it the window handle of the textbox and the paper width or the
window handle of the printer and the paper width minus the left and right
offsets?
Will it really make the monitor display look like the printed output?
Any helpful comments will be appreciated,
Cal
ps
send message for EM_SETTARGETDEVICE, says
wParam
Handle to a device context for the target device.
is that a window handle or a HDC