<?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 : Command Bars</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Last 10 Posts]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 27 Jun 2026 15:20:56 +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?FID=117</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[Command Bars : Recurring crash call stack]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24633&amp;PID=79366&amp;title=recurring-crash-call-stack#79366</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> Recurring crash call stack<br /><strong>Posted:</strong> 13 March 2026 at 2:27pm<br /><br /><div>One of our most frequently occurring customer crashes has these three CJ apis on the top of the stack with the crash in AlphaBlendU:</div><div><br></div><div><br></div><div>&gt;&nbsp; &nbsp; ToolkitPro2200vc170x64U.dll!CXTPCommandBarAnimation::AlphaBlendU(unsigned char * pDest, unsigned char * pSrcBack, int cx, int cy, unsigned char * pSrc, unsigned char byAlpha) Line 109&nbsp; &nbsp; C++<br>&nbsp; &nbsp; &nbsp;ToolkitPro2200vc170x64U.dll!CXTPCommandBarAnimation::AnimateRect(CClientDC &amp; dc, CXTPCommandBarAnimation::CAnimateInfo * pai) Line 151&nbsp; &nbsp; C++<br>&nbsp; &nbsp; &nbsp;ToolkitPro2200vc170x64U.dll!CXTPCommandBarAnimation::OnAnimate() Line 176&nbsp; &nbsp; C++<br><br></div><div><br></div><div>We currently ship the product with V24.2 but V22 is in the customer base. Any chance that is/was part of some crash? The code runs all the time as I move over the ribbon bar so it is difficult to believe there is an issue in CJ itself. But, I ask because I have seen a "crash" fix in the readme file under commandbars but with no details.&nbsp;</div>]]>
   </description>
   <pubDate>Fri, 13 Mar 2026 14:27:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24633&amp;PID=79366&amp;title=recurring-crash-call-stack#79366</guid>
  </item> 
  <item>
   <title><![CDATA[Command Bars : CXTPCommandBarsFrameHook crash]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24627&amp;PID=79356&amp;title=cxtpcommandbarsframehook-crash#79356</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> CXTPCommandBarsFrameHook crash<br /><strong>Posted:</strong> 24 February 2026 at 10:39am<br /><br /><div>Hi Artem,</div><div><br></div><div>I wish I knew a way to reproduce the issue. It was random from what I can tell (I just got dump files). We do use skinning and I have been closing the app when we got a deadlock situation as all threads were waiting on objects. I have waited to see if the app would "wake up" and finish but when it is locked that hasn't happened and I just kill it (stop the debugger). I have no ideal if the two are related.</div><div><br></div><div>I added the pointer checks too so time will tell if this pops up elsewhere.</div>]]>
   </description>
   <pubDate>Tue, 24 Feb 2026 10:39:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24627&amp;PID=79356&amp;title=cxtpcommandbarsframehook-crash#79356</guid>
  </item> 
  <item>
   <title><![CDATA[Command Bars : CXTPCommandBarsFrameHook crash]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24627&amp;PID=79355&amp;title=cxtpcommandbarsframehook-crash#79355</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9012">agontarenko</a><br /><strong>Subject:</strong> CXTPCommandBarsFrameHook crash<br /><strong>Posted:</strong> 24 February 2026 at 4:09am<br /><br />Hello,<br><br>I've added nullptr check.&nbsp;<br>How I can to reproduce your problem?<br><br>Regards,<br>Artem Gontarenko]]>
   </description>
   <pubDate>Tue, 24 Feb 2026 04:09:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24627&amp;PID=79355&amp;title=cxtpcommandbarsframehook-crash#79355</guid>
  </item> 
  <item>
   <title><![CDATA[Command Bars : CXTPCommandBarsFrameHook crash]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24627&amp;PID=79354&amp;title=cxtpcommandbarsframehook-crash#79354</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> CXTPCommandBarsFrameHook crash<br /><strong>Posted:</strong> 18 February 2026 at 2:18pm<br /><br /><div>During shutdown we have experienced crashes in CXTPCommandBarsFrameHook code. The call to GetFramePaintManager has returned a null pointer. In particular, as we shut down the hook's RedrawFrame has been called and the GetFramePaintManager()-&gt;DrawFrame line crashed due to the null pointer.</div><div><br></div><div>I see that CXTPCommandBarsFrameHook::GetFramePaintManager() can return NULL as can the call to pPaintManager-&gt;GetFramePaintManager if it is called.</div><div><br></div><div>I also see that many of the calls to GetFramePaintManager in XTPFrameHook.cpp test the returned pointer. Only a few do not and I'm modifying those to do so.</div><div><br></div><div>Would be great if a CJ update did the same so I don't have to maintain this change.</div><div><br></div><div>Not sure how we get into this as it isn't happening a lot. We do use skinning depending on a user setting for a color theme choice but I run with the skin a lot and haven't crashed. So this change I'm making is a hope so. As in I hope it avoids the crash.</div>]]>
   </description>
   <pubDate>Wed, 18 Feb 2026 14:18:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24627&amp;PID=79354&amp;title=cxtpcommandbarsframehook-crash#79354</guid>
  </item> 
  <item>
   <title><![CDATA[Command Bars : CSS-Styled SVG Icons Render Black]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24618&amp;PID=79315&amp;title=cssstyled-svg-icons-render-black#79315</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9737">Aishwarya K</a><br /><strong>Subject:</strong> CSS-Styled SVG Icons Render Black<br /><strong>Posted:</strong> 10 December 2025 at 5:37am<br /><br /><p -start="325" -end="331">Hello,</p><p -start="333" -end="468">We are integrating custom SVG icons into our application using Codejock (Xtreme ToolkitPro 24.2) and are encountering an issue:<br>SVG files that rely on CSS styling (e.g., classes, <code -start="258" -end="267">&lt;style&gt;</code>, and modern SVG structure) are rendered completely black inside Codejock controls. In contrast, the SVGs used in Codejock’s sample projects(Codejock\Xtreme_ToolkitPro\v24.2.0\Samples\Common\svg) render correctly with their intended colors.<br><br><span -start="1512" -end="1531">Key difference<b>&nbsp;</b>Observed :</span><br -start="1531" -end="1534">Codejock’s SVG uses <str&#111;ng -start="1554" -end="1580">inline fill attributes and <str&#111;ng -start="1585" -end="1613">simple path-only SVG 1.1, while our SVG uses <str&#111;ng -start="1634" -end="1694">CSS styles, classes, <code -start="1657" -end="1666">&lt;style&gt;</code>, and modern SVG structure.&nbsp;<br></strong></strong></strong></p><p -start="599" -end="642">I am attaching our SVG files for reference :&nbsp;<a href="uploads/9737/Svgs_Rendered_As_Black.zip" target="_blank" rel="nofollow">uploads/9737/Svgs_Rendered_As_Black.zip</a>&nbsp;</p><p -start="644" -end="714">We would appreciate any guidance or help on how to resolve this issue.</p><p -start="333" -end="468"></p><p -start="716" -end="726">Thank you.</p>]]>
   </description>
   <pubDate>Wed, 10 Dec 2025 05:37:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24618&amp;PID=79315&amp;title=cssstyled-svg-icons-render-black#79315</guid>
  </item> 
  <item>
   <title><![CDATA[Command Bars : Frame Theme hides my app icon]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24613&amp;PID=79308&amp;title=frame-theme-hides-my-app-icon#79308</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9735">catalin</a><br /><strong>Subject:</strong> Frame Theme hides my app icon<br /><strong>Posted:</strong> 25 November 2025 at 8:36am<br /><br />Found the solution. It works now.]]>
   </description>
   <pubDate>Tue, 25 Nov 2025 08:36:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24613&amp;PID=79308&amp;title=frame-theme-hides-my-app-icon#79308</guid>
  </item> 
  <item>
   <title><![CDATA[Command Bars : Assertion Occurs When Using SVG Icon with CXTPCont]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24614&amp;PID=79306&amp;title=assertion-occurs-when-using-svg-icon-with-cxtpcont#79306</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8143">hiro-ta</a><br /><strong>Subject:</strong> Assertion Occurs When Using SVG Icon with CXTPCont<br /><strong>Posted:</strong> 17 November 2025 at 8:04pm<br /><br /><article ="text-token-text-primary w-full focus:outline-n&#111;ne --shadow-height:45px has--writing-block:pointer-s-n&#111;ne has--writing-block:-mt---shadow-height has--writing-block:pt---shadow-height &amp;:has-writing-block&gt;:pointer-s-auto -visibility:auto sups--visibility:auto:c&#111;ntain-intrinsic-size:auto_100lvh scroll-mt-calcvar--er-height+min200px,max70px,20svh" ="-1" dir="auto" -turn-id="request-WEB:a8b9fed6-3c2d-4843-a831-7fcd1a0d25f2-1" -testid="c&#111;nversati&#111;n-turn-4" -scroll-anchor="true" -turn="assistant"><div ="text- my-auto mx-auto pb-10 --thread--margin:--spacing4 thread-sm:--thread--margin:--spacing6 thread-lg:--thread--margin:--spacing16 px---thread--margin"><div ="--thread--max-width:40rem thread-lg:--thread--max-width:48rem mx-auto max-w---thread--max-width flex-1 group/turn-messages focus-:outline- relative flex w-full min-w-0 flex-col agent-turn" ="-1"><div ="flex max-w-full flex-col grow"><div -message-author-role="assistant" -message-id="a1613235-191f-4418-ae9a-176a6188a223" dir="auto" ="min-h-8 text-message relative flex w-full flex-col items-end gap-2 text-start break-words whitespace-normal .text-message+&amp;:mt-1" -message-model-slug="gpt-5-1"><div ="flex w-full flex-col gap-1 empty: first:pt-1px"><div ="markdown prose dark:prose-invert w-full break-words light markdown-new-styling"><p -start="125" -end="205">I added a “change font color” button to a <code -start="167" -end="180">CXTPToolBar</code>. The code is as follows:</p><pre ="overflow-!" -start="207" -end="1023"><div ="c&#111;ntain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary"><div ="sticky top-9"><div =" end-0 bottom-0 flex h-9 items-center pe-2"><div ="bg-token-bg-elevated-sec&#111;ndary text-token-text-sec&#111;ndary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"></div></div></div><div ="overflow-y-auto p-4" dir="ltr"><code ="whitespace-pre! -cpp"><span ="hljs-"><span ="hljs-">int</span></span> <span ="hljs-title">PEBookmarkCtrl::OnCreateControl</span><span ="hljs-s">(LPCREATECONTROLSTRUCT lpCreateControl)</span>{    <span ="hljs-keyword">switch</span>(lpCreateControl-&gt;nID)    {    <span ="hljs-keyword">case</span> ID_BKCTRL_COLOR:        CXTPControlPopupColor* pPopupColor = <span ="hljs-keyword">new</span> <span ="hljs-built_in">CXTPControlPopupColor</span>();        CXTPPopupBar* pColorBar = (CXTPPopupBar*)CXTPPopupToolBar::<span ="hljs-built_in">CreateObject</span>();        pColorBar-&gt;<span ="hljs-built_in">GetControls</span>()-&gt;<span ="hljs-built_in">Add</span>(<span ="hljs-keyword">new</span> <span ="hljs-built_in">CXTPControlButtonColor</span>(), ID_BKCTRL_COLOR_NONE);        pColorBar-&gt;<span ="hljs-built_in">GetControls</span>()-&gt;<span ="hljs-built_in">Add</span>(<span ="hljs-keyword">new</span> <span ="hljs-built_in">CXTPControlColorSelector</span>(), ID_BKCTRL_COLORSELECTOR);        pColorBar-&gt;<span ="hljs-built_in">GetControls</span>()-&gt;<span ="hljs-built_in">Add</span>(<span ="hljs-keyword">new</span> <span ="hljs-built_in">CXTPControlButtonColor</span>(), ID_BKCTRL_COLOR_MORE);        pPopupColor-&gt;<span ="hljs-built_in">SetCommandBar</span>(pColorBar);        pColorBar-&gt;<span ="hljs-built_in">EnableCustomization</span>(FALSE);        pColorBar-&gt;<span ="hljs-built_in">InternalRelease</span>();        lpCreateControl-&gt;pControl = pPopupColor;        <span ="hljs-keyword">return</span> TRUE;    }    <span ="hljs-keyword">return</span> FALSE;}</code></div></div></pre><p -start="1025" -end="1241">After changing the icon to an SVG, an assertion started occurring.<br -start="1091" -end="1094">It happens when <code -start="1110" -end="1145">CXTPControlPopupColor::SetColor()</code> is called in the <code -start="1163" -end="1185">ON_UPDATE_COMMAND_UI</code> handler (see attached).<br -start="1209" -end="1212">What should I do to fix this?</p><hr -start="1243" -end="1246" -is-last-node="" -is-&#111;nly-node=""><img src="uploads/8143/vs_debug.png" height="1047" width="1485" border="0" /></div></div></div></div><div ="z-0 flex min-h-46px justify-start"></div><div ="mt-3 w-full empty:"><div ="text-center"></div></div></div></div></article><div aria-="true" -edge="true" ="pointer-s-n&#111;ne h-px w-px"></div>]]>
   </description>
   <pubDate>Mon, 17 Nov 2025 20:04:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24614&amp;PID=79306&amp;title=assertion-occurs-when-using-svg-icon-with-cxtpcont#79306</guid>
  </item> 
  <item>
   <title><![CDATA[Command Bars : Frame Theme hides my app icon]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24613&amp;PID=79305&amp;title=frame-theme-hides-my-app-icon#79305</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9735">catalin</a><br /><strong>Subject:</strong> Frame Theme hides my app icon<br /><strong>Posted:</strong> 17 November 2025 at 8:59am<br /><br /><div>Hi,</div><p -start="60" -end="164">I activated the Frame Theme using <code -start="94" -end="132">m_pRibbonBar-&gt;EnableFrameTheme(TRUE)</code>, but now my app icon is hidden.</p><p -start="166" -end="190">How can I bring it back?</p>]]>
   </description>
   <pubDate>Mon, 17 Nov 2025 08:59:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24613&amp;PID=79305&amp;title=frame-theme-hides-my-app-icon#79305</guid>
  </item> 
  <item>
   <title><![CDATA[Command Bars : Group Names for Ribbon Tabs]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24612&amp;PID=79304&amp;title=group-names-for-ribbon-tabs#79304</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9735">catalin</a><br /><strong>Subject:</strong> Group Names for Ribbon Tabs<br /><strong>Posted:</strong> 17 November 2025 at 8:53am<br /><br /><div>Hi,</div><div><br></div><div>Is it possible to remove the section of the ribbon that displays the group names?</div><div><br></div><div></div><div><img src="uploads/9735/ribb&#111;n_tab.png" height="274" width="707" border="0" /><br></div>]]>
   </description>
   <pubDate>Mon, 17 Nov 2025 08:53:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24612&amp;PID=79304&amp;title=group-names-for-ribbon-tabs#79304</guid>
  </item> 
 </channel>
</rss>