Print Page | Close Window

Bug in CXTPAnimationDC (15.0)

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=17894
Printed Date: 19 June 2025 at 3:51pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Bug in CXTPAnimationDC (15.0)
Posted By: inforapid
Subject: Bug in CXTPAnimationDC (15.0)
Date Posted: 15 February 2011 at 9:42pm
There is a bug in CXTPAnimationDC. It only works if the rectangle, which is given in the constructor, has a top left position of 0,0. The bug is only in version 15, in your last version it worked. It's because in your function DefaultAnimation, you do something like pDestDC->BitBlt(rc.left, rc.top, rc.Width(), rc.Height(), &dc, 0, 0, SRCCOPY);
So long, so good. But when the Destructor of CXTPBufferDC is called, it does ::BitBlt (m_hDestDC, m_rect.left, m_rect.top, m_rect.Width(), m_rect.Height(), m_hDC, m_rect.left, m_rect.top, SRCCOPY); In order to work correct, it must be ::BitBlt (m_hDestDC, m_rect.left, m_rect.top, m_rect.Width(), m_rect.Height(), m_hDC, 0, 0, SRCCOPY); Can you please fix this as soon as possible. Thank you.
Ingo



Replies:
Posted By: Oleg
Date Posted: 16 February 2011 at 1:47am
Thanks, fixed for 15.0.2 HotFix release.


-------------
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