// JP opened flex table

Click to See Complete Forum and Search --> : BUG: MFC's support for Print Preview


Abhijit A B
March 24th, 1998, 12:21 AM
BUG in MFC's support for print preview =======================================


We have created SDI application with support for print & printpreview, we are facing the following problem.


When the print preview mode is invoked, set the focus on the close button on the dialog bar. Now press the space bar and the right arrow button simultaneously

the application gives a page fault. Similar kind of behaviour is observed when the focus is on the print button.


This behaviour is also observed in MS-WordPad in Windows 95.


Does anybody has any solutions.

Thanks in advance

Abhijit A B

XuYifeng
March 31st, 1998, 12:59 AM
I have found another bug, when there is no printer installed, and DoPreparePrinting will return FALSE, both print and print preview will still call OnEndPrinting but not OnBeginPrinting! Because my program replies on these step to save and restore some information when printing, this cause my program fault!

//JP added flex table