Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - RibbonBar crash with animation enabled
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

RibbonBar crash with animation enabled

 Post Reply Post Reply
Author
Message
Denbuerg View Drop Down
Newbie
Newbie


Joined: 14 March 2006
Location: Germany
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Denbuerg Quote  Post ReplyReply Direct Link To This Post Topic: RibbonBar crash with animation enabled
    Posted: 19 October 2007 at 8:28am
Hi,

My application uses a RibbonBar. If I enable animation, the app crashes sometimes after a ribbon button is pushed. Somehow the pointer to the source bits is invalid. Do you have an idea what causes that crash. (using xtt 10.4.2)

Here a call stack:
SomeApp.exe!CXTPCommandBarAnimation::AlphaBlendU(unsigned char * pDest=0x05570000, unsigned char * pSrcBack=0xfeeefeee, int cx=46, int cy=45, unsigned char * pSrc=0xfeeefeee, unsigned char byAlpha='.')  Line 90 + 0x3 bytes    C++
SomeApp.exe!CXTPCommandBarAnimation::AnimateRect(CClientDC & dc={...}, CXTPCommandBarAnimation::CAnimateInfo * pai=0x02fc61c8)  Line 130    C++
SomeApp.exe!CXTPCommandBarAnimation::OnAnimate()  Line 154    C++
SomeApp.exe!CXTPCommandBar::OnTimer(unsigned int nIDEvent=707907)  Line 1264    C++
SomeApp.exe!CXTPMenuBar::OnTimer(unsigned int nIDEvent=707907)  Line 736    C++
SomeApp.exe!CWnd::OnWndMsg(unsigned int message=275, unsigned int wParam=707907, long lParam=0, long * pResult=0x0012fcbc)  Line 2032    C++
SomeApp.exe!CXTPCommandBar::OnWndMsg(unsigned int message=275, unsigned int wParam=707907, long lParam=0, long * pResult=0x0012fcbc)  Line 2345    C++
SomeApp.exe!CWnd::WindowProc(unsigned int message=275, unsigned int wParam=707907, long lParam=0)  Line 1741 + 0x20 bytes    C++
SomeApp.exe!AfxCallWndProc(CWnd * pWnd=0x02efc8e0, HWND__ * hWnd=0x00030c68, unsigned int nMsg=275, unsigned int wParam=707907, long lParam=0)  Line 240 + 0x1c bytes    C++
SomeApp.exe!AfxWndProc(HWND__ * hWnd=0x00030c68, unsigned int nMsg=275, unsigned int wParam=707907, long lParam=0)  Line 389    C++

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: 19 October 2007 at 3:19pm
Hi,
If you are going use Ribbon, I very recommend update to last 11.2 release - too much changes was done for Ribbon.
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.047 seconds.