Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Bug in CXTPAnimationDC (15.0)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Bug in CXTPAnimationDC (15.0)

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


Joined: 31 March 2006
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote inforapid Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 16 February 2011 at 1:47am
Thanks, fixed for 15.0.2 HotFix release.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.035 seconds.