Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > General Discussion
  New Posts New Posts RSS Feed - Release-Notes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Release-Notes

 Post Reply Post Reply
Author
Message
Daniel View Drop Down
Groupie
Groupie


Joined: 20 June 2006
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote Daniel Quote  Post ReplyReply Direct Link To This Post Topic: Release-Notes
    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

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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);
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.