lundi 30 mars 2015

Page numbering in CHtmlView for a custom layout

I am using CHtmlView in my MFC application and I have a custom layout for printing.

I use thead and tfoot for the repetion of headers and footers.

The header and footer have fixed dimensions.

One of my divs in tfoot is the page number.


Can anyone help how to get the page number?



<tfoot>
<div id=".."> ...... </div>
<div id=".."> I need page numberto be printed here </div>
</tfoot>


I tried using counters. But they don't seem to be working for tfoots and theads.


Aucun commentaire:

Enregistrer un commentaire