<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : CXTPCommandBarAnimation::RedrawRect</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : CXTPCommandBarAnimation::RedrawRect]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 08 Jun 2026 20:01:23 +0000</pubDate>
  <lastBuildDate>Mon, 08 Jun 2026 16:24:25 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>30</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=24645</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[CXTPCommandBarAnimation::RedrawRect : Looking at dump files where we...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24645&amp;PID=79409&amp;title=cxtpcommandbaranimationredrawrect#79409</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 24645<br /><strong>Posted:</strong> 08 June 2026 at 4:24pm<br /><br /><div>Looking at dump files where we crash in AlphaBlendU with a non-null pointer access violation, Claude Code has pointed to CXTPCommandBarAnimation::RedrawRect where lpRect == NULL.</div><div><br></div><div>CC thinks RemoveAnimations needs to be called there. I have verified debugging that if I have collapsed groups and click and move over etc. that function is called with a NULL lpRect. It is also called when we programmatically set the popup of a collapsed group with a "find command" tool we have. It is also called when clicking a button on the ribbon.</div><div><br></div><div>But still, I never crash. This is "random" in our code base. Can a CJ expert confirm or deny this change is needed:</div><div><br></div><div>void CXTPCommandBarAnimation::RedrawRect(LPCRECT lpRect, BOOL bAnimate)<br>{<br>&nbsp; &nbsp; if (lpRect == NULL)<br>&nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; m_bmpCache.DeleteObject();<br>&nbsp; &nbsp; &nbsp; &nbsp; <b>RemoveAnimations</b>();<br>&nbsp; &nbsp; }<br><br></div><div>So far in testing I find nothing bad happening. So, I got that going for me.</div>]]>
   </description>
   <pubDate>Mon, 08 Jun 2026 16:24:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24645&amp;PID=79409&amp;title=cxtpcommandbaranimationredrawrect#79409</guid>
  </item> 
 </channel>
</rss>