

Int CXTPReportView::PrintPageHeader(CDC* pDC, CPrintInfo* pInfo, CRect rcPage, BOOL bOnl圜alculate, int nPageNumber, int nNumberOfPages)

Virtual int PrintPageFooter(CDC* pDC, CPrintInfo* pInfo, CRect rcPage, BOOL bOnl圜alculate, int nPageNumber, int nNumberOfPages)


This method is called to print the page footer of the report control Virtual int PrintPageHeader(CDC* pDC, CPrintInfo* pInfo, CRect rcPage, BOOL bOnl圜alculate, int nPageNumber, int nNumberOfPages) This method is called to print the page header of the report control Meanwhile, can you please add and implement these two methods in your class : Do you have a file comparer ? If not, you can use Beyond Compare for 30 days (Please note that I have also fixed the horizontal scrollbar to 32 bits (without any impacts for you and customers). I'm currently checking your code, I will then send you the modified files. When removing the WYSIWYG print mode, in your sample app, you shoud redraw the Report Control. NB: Your WYSIWYG print mode doesn't work for the last column (the size of the last printed column is extra big). You have some other bugs here but they are linked to the point (3). It doesn't occur when displaying items in group.Ĥ) Using the CTRL key without the SHIFT key should not take care of any range, it should just invert the selection of the clicked item. For example, go to the middle of the Report Control, then hold down the shift key and move up (by the up key or a mouse click) to backward select a range of items. It's a little strange.ģ) In some cases, the simple selection of a range of items (just by using the SHIFT key with a mouse click or up/down arrow keys) doesn't work upward. Group titles cannot anyway be selected by using the keyboard. When the CTRL + SHIFT keys are used, all items in the clicked range should always be selected, including the first one and the last one.Ģ) When displaying items in group, the group titles in the range are not selected (but the first and the last are selected!). We just tested your executable and it needs some fixes :ġ) In some cases, when the items are displayed for example in group, the CTRL + SHIFT doesn't select the last clicked line.
