|  | 
| Print preview bug | 
| Post Reply   | 
| Author | |
| ABuenger   Newbie     Joined: 02 February 2006 Status: Offline Points: 1075 |  Post Options  Thanks(0)  Quote  Reply  Topic: Print preview bug Posted: 29 September 2008 at 11:41am | 
| 
   CXTPFrameWndBase::OnSetPreviewMode has to be virtual! PrintPreview sample built with VC60:  PrintPreview sample built with VC80:  | |
| 
     Codejock support
     | |
|  | |
| Oleg   Senior Member   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |  Post Options  Thanks(0)  Quote  Reply  Posted: 29 September 2008 at 2:39pm | 
| Hi, Its not related to OnSetPreviewMode.Create simple MFC projects in vc6 and vc80 and you will see same. | |
| 
     Oleg, Support Team CODEJOCK SOFTWARE SOLUTIONS | |
|  | |
| ABuenger   Newbie     Joined: 02 February 2006 Status: Offline Points: 1075 |  Post Options  Thanks(0)  Quote  Reply  Posted: 29 September 2008 at 3:05pm | 
| 
 You're right  But OnSetPreviewMode should still be virtual because otherwise CMainFrame::OnSetPreviewMode will never be called in VC80. I would like to keep the VC60 behaviour. | |
| 
     Codejock support
     | |
|  | |
| Oleg   Senior Member   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |  Post Options  Thanks(0)  Quote  Reply  Posted: 30 September 2008 at 5:17am | 
| 
   Hi,
 It is virtual.  If there is no virtual keyword it doesn't mean its not virtual ;-) | |
| 
     Oleg, Support Team CODEJOCK SOFTWARE SOLUTIONS | |
|  | |
| Post Reply   | |
| Tweet | 
| Forum Jump | Forum Permissions  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |