<?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</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Last 10 Posts]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 09 Jun 2026 01:47:28 +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_topic_feed.asp</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[Command Bars : CXTPCommandBarAnimation::RedrawRect]]></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> CXTPCommandBarAnimation::RedrawRect<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> 
  <item>
   <title><![CDATA[Skin Framework : Menu won&#039;t draw.]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79408&amp;title=menu-wont-draw#79408</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> Menu won&#039;t draw.<br /><strong>Posted:</strong> 08 June 2026 at 9:57am<br /><br />What I have isn't an MFC app though our app is based on MFC. The code I dropped is just "classic"/Petzold sort of programming.]]>
   </description>
   <pubDate>Mon, 08 Jun 2026 09:57:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79408&amp;title=menu-wont-draw#79408</guid>
  </item> 
  <item>
   <title><![CDATA[Skin Framework : Menu won&#039;t draw.]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79407&amp;title=menu-wont-draw#79407</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9012">agontarenko</a><br /><strong>Subject:</strong> Menu won&#039;t draw.<br /><strong>Posted:</strong> 08 June 2026 at 7:30am<br /><br /><div><img src="uploads/9012/test3.png" height="286" width="1292" border="0" /></div><div><br></div><div>This is CFrameWnd base window (SDI)&nbsp;test.</div><div><br></div><div>Regards,</div><div>Artem Gontarenko</div>]]>
   </description>
   <pubDate>Mon, 08 Jun 2026 07:30:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79407&amp;title=menu-wont-draw#79407</guid>
  </item> 
  <item>
   <title><![CDATA[Skin Framework : Menu won&#039;t draw.]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79406&amp;title=menu-wont-draw#79406</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9012">agontarenko</a><br /><strong>Subject:</strong> Menu won&#039;t draw.<br /><strong>Posted:</strong> 08 June 2026 at 5:33am<br /><br /><img src="uploads/9012/3nv82bF2wY_2026-06-08_05-33-13.png" height="365" width="490" border="0" />]]>
   </description>
   <pubDate>Mon, 08 Jun 2026 05:33:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79406&amp;title=menu-wont-draw#79406</guid>
  </item> 
  <item>
   <title><![CDATA[Skin Framework : Menu won&#039;t draw.]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79405&amp;title=menu-wont-draw#79405</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9012">agontarenko</a><br /><strong>Subject:</strong> Menu won&#039;t draw.<br /><strong>Posted:</strong> 08 June 2026 at 5:32am<br /><br /><img src="uploads/9012/devenv_cY1bFbE2pm.png" height="1160" width="1920" border="0" />]]>
   </description>
   <pubDate>Mon, 08 Jun 2026 05:32:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79405&amp;title=menu-wont-draw#79405</guid>
  </item> 
  <item>
   <title><![CDATA[Skin Framework : Menu won&#039;t draw.]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79404&amp;title=menu-wont-draw#79404</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9012">agontarenko</a><br /><strong>Subject:</strong> Menu won&#039;t draw.<br /><strong>Posted:</strong> 08 June 2026 at 5:31am<br /><br /><div>Hello,</div><div><br></div><div>I've created test MFC project&nbsp;with ownerdraw menu, then&nbsp;add CJ skin and menu, rename CWinApp -&gt; CXTPWinApp and all works as expected.</div><div>See please my test project.</div><div><br></div><div>Regards,</div><div>Artem Gontarenko</div><div><br></div><div><a href="https://forum.codejock.com/uploads/9012/MFCMenuApp.zip" target="_blank" rel="nofollow">uploads/9012/MFCMenuApp.zip</a></div>]]>
   </description>
   <pubDate>Mon, 08 Jun 2026 05:31:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79404&amp;title=menu-wont-draw#79404</guid>
  </item> 
  <item>
   <title><![CDATA[Toolkit Pro : Toolset update]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24643&amp;PID=79403&amp;title=toolset-update#79403</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8199">astoyan</a><br /><strong>Subject:</strong> Toolset update<br /><strong>Posted:</strong> 05 June 2026 at 12:57am<br /><br /><div>Hello Piotr,</div><div><br></div><div>Visual Studio 2026 official support will be added in the upcoming version. The currently available v24.3 does not provide an official support for it.</div><div><br></div><div>Regards,</div><div>&nbsp; Alexander</div>]]>
   </description>
   <pubDate>Fri, 05 Jun 2026 00:57:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24643&amp;PID=79403&amp;title=toolset-update#79403</guid>
  </item> 
  <item>
   <title><![CDATA[Toolkit Pro : TaskDialog infinite loop on an error case]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24644&amp;PID=79402&amp;title=taskdialog-infinite-loop-on-an-error-case#79402</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8199">astoyan</a><br /><strong>Subject:</strong> TaskDialog infinite loop on an error case<br /><strong>Posted:</strong> 05 June 2026 at 12:55am<br /><br /><div>Thanks for reporting this mistake. Indeed, the return value must be -1. I'll be fixed in the upcoming version.</div><div><br></div><div>Regards,</div><div>&nbsp; &nbsp;Alexander</div>]]>
   </description>
   <pubDate>Fri, 05 Jun 2026 00:55:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24644&amp;PID=79402&amp;title=taskdialog-infinite-loop-on-an-error-case#79402</guid>
  </item> 
  <item>
   <title><![CDATA[Toolkit Pro : TaskDialog infinite loop on an error case]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24644&amp;PID=79401&amp;title=taskdialog-infinite-loop-on-an-error-case#79401</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9141">Julianis</a><br /><strong>Subject:</strong> TaskDialog infinite loop on an error case<br /><strong>Posted:</strong> 03 June 2026 at 5:54am<br /><br />We are using an CXTPTaskDialog in our application.<br><br>I'm using incorrect settings and the dialog fails to create.<br>In this case the application ends up in an infinite loop.<br><br>The culprit seems to be the handling of the error case in&nbsp;<br><br><pre style="font-family:'Cascadia Mono';font-size:9pt;color:#000000"><span style="color:#0000ff">int</span> CXTPTaskDialogFrame::OnCreate<span style="color:#1a94ff">(</span>LPCREATESTRUCT lpCreateStruct<span style="color:#1a94ff">)<br>{<br>  ...<br>  </span>	<span style="color:#0000ff">if</span> <span style="color:#ffd702">(</span>!CreateClient<span style="color:#d86ac2">(</span>TRUE<span style="color:#d86ac2">)</span><span style="color:#ffd702">)</span>	<span style="color:#ffd702">{</span>		TRACE0<span style="color:#d86ac2">(</span><span style="color:#a31515">"Failed to create Task Dialog UI window.\n"</span><span style="color:#d86ac2">)</span>;		<span style="color:#0000ff">return</span> FALSE;	<span style="color:#ffd702">}</span><br>}<br><br>The return FALSE seems to be incorrect (the method returns 0 as success).<br><br>If I patch the code with a return -1 when CreateClient() fails, the infinite loop no longer happens.</pre><br>]]>
   </description>
   <pubDate>Wed, 03 Jun 2026 05:54:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24644&amp;PID=79401&amp;title=taskdialog-infinite-loop-on-an-error-case#79401</guid>
  </item> 
  <item>
   <title><![CDATA[Skin Framework : Menu won&#039;t draw.]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79400&amp;title=menu-wont-draw#79400</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> Menu won&#039;t draw.<br /><strong>Posted:</strong> 28 May 2026 at 6:23pm<br /><br /><div>Hi Alexander,</div><div><br></div><div>Thanks for putting it on a list. Looks like the code is always calling GetSysMenu even when GetMenu(m_hWnd) returns the menu in question.</div>]]>
   </description>
   <pubDate>Thu, 28 May 2026 18:23:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24642&amp;PID=79400&amp;title=menu-wont-draw#79400</guid>
  </item> 
 </channel>
</rss>