Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

Rich Edit Control double-spacing table

$
0
0

I have a Rich Edit control that I am using to display constant, static text. The text comes from a document that I built in MS Word. I display it using StreamIn() and a callback.

The text all displays perfectly -- you can't tell it from the original in Word -- with one exception. I have a table that looks like this (it's actually a normal Word table but I don't trust that to display correctly here.)

+-----------+
| foo          |
+-----------+
| bar          |
+-----------+

But in the Rich Edit control, it displays like this

+-----------+
| foo          |
|               |
+-----------+
| bar          |
|                |
+-----------+

with each line of text double-spaced.

Any idea how to get the Rich Edit control to display it correctly?

Thanks,


Charles


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>