Print Page | Close Window

Print preview bug

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=12286
Printed Date: 20 May 2024 at 6:29am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Print preview bug
Posted By: ABuenger
Subject: Print preview bug
Date 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



Replies:
Posted By: Oleg
Date 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


Posted By: ABuenger
Date Posted: 29 September 2008 at 3:05pm
Originally posted by oleg oleg wrote:

Create simple MFC projects in vc6 and vc80 and you will see same.


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


Posted By: Oleg
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net