07-09-2008 05:43 AM
07-22-2008 01:34 AM
07-22-2008 02:01 AM
Hi Rob,
I've managed to solve the problem by doing the following:
// Set the cursor to the start of the text.
RichTextLib_IRichTextSetSelStart(richTestHandle, 0, 0);
// Get all the text in the window.
RichTextLib_IRichTextGetText(richTestHandle, 0, &text);
// Set the cursor to the end of the text.
RichTextLib_IRichTextSetSelStart(richTestHandle, 0, strlen(text));
Cheers
James.
07-22-2008 02:18 AM
Hi James,
Fantastic news, thanks for letting me know and posting the solution on the forum for the community to see,
All the best,