Print Page | Close Window

Release-Notes

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Visual C++ MFC Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=16226
Printed Date: 14 May 2024 at 1:15am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Release-Notes
Posted By: Daniel
Subject: Release-Notes
Date Posted: 19 February 2010 at 3:48am

Hi,

is it possible to add a new section in the CodeJock-Release notes for changes which could potentially break existing app which works with older versions of the library?

For example:

in the current beta you changed one virtual function in CXTPReportControl:

the old version:

        virtual void OnBeginDrag(CPoint point);

 

the new version:

        virtual void OnBeginDrag(CPoint point, UINT nFlags);

This will break existing app if they override this function. The developer will not get any warning or error since everything compiles fine, but the app will NOT work as expected since this small change. So it would be a great help to have a section with changes like this one.

Daniel




Replies:
Posted By: SuperMario
Date Posted: 19 February 2010 at 9:53am
Hi,
You are right, we do try to keep the toolkit backwards compatible.  Thank you for this catch.  This will be included with 14.0

Please try this and see if it works as expected.  We made quit a few additions to OnBeginDrag.

//Add to XTPReportcontrol.cpp

void CXTPReportControl::OnBeginDrag(CPoint point)
{
    OnBeginDrag(point, 0);
}

//Add to XTPReportControl.h

virtual void OnBeginDrag(CPoint point);


Posted By: mgampi
Date Posted: 19 February 2010 at 3:46pm
I have to note that Drag&Drop support of the report control changed in other parts in a tremedous way - compared to version 12.1.1!
I opened an issue 3 days ago and requested a 'what has changed and breaks code' documentation, but I got no response until now!
At the moment I ask myself, what's codejocks bug tracker for...



-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



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