![]() |
Bug in CXTPAnimationDC (15.0) |
Post Reply
|
| Author | |
inforapid
Groupie
Joined: 31 March 2006 Status: Offline Points: 38 |
Post Options
Thanks(0)
Quote Reply
Topic: Bug in CXTPAnimationDC (15.0)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
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 February 2011 at 1:47am |
|
Thanks, fixed for 15.0.2 HotFix release.
|
|
|
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 |