Hi all.

I'm trying to create an application with a RichTextBox control in order to let user introduce a formatted text, and then I generate a word2007 .docx document with that text.

I added the functionality to zoom in/out in this RichTextBox, sending the EM_SETZOOM message to it.

The problem is that if I just send the message, the .SelAlignment = rtfRight goes out of the control.

To solve...