Click here to Skip to main content
15,913,101 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
Can anybody give me some how do I count the number of pages in CRichEditControl in MFC
Thanks
Dev.
Posted
Updated 27-Mar-11 1:45am
v3

1 solution

Define what a page is first. You have to define the length and width of the printable area of a page, margins, ... Once you have that, since the RichEditControl is not WYSIWYG, then you have to simulate printing the content to those page dimensions.

No, I don't have example code.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900