I have Windows Common Dialog Control and Rich Text Box Control. I try to print the text in the rich text box by pressing Print button. I am able to print one page of text in the rich text control but I am not able to print more than one page if the text in the rich text box is displaying 5 pages.

Here is my code in the Print button:

CommonDialog.SetFlags (256 + 0);
CommonDialog.ShowPrint();
RichText.SelPrint(CommonDialog.GetHDC());

What am I missing? How come it doesn't print all the page in the rich text box.
If you have the answer please email me at:
[email protected]

Thank you for your help.