<?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 : CXTPTabClientWnd - EnableTearOff issues</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPTabClientWnd - EnableTearOff issues]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 07:00:38 +0000</pubDate>
  <lastBuildDate>Tue, 25 Feb 2025 06:37:34 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=24551</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[CXTPTabClientWnd - EnableTearOff issues : Thanks, theXTPTabClientWnd change...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24551&amp;PID=79156&amp;title=cxtptabclientwnd-enabletearoff-issues#79156</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9273">jw_statica</a><br /><strong>Subject:</strong> 24551<br /><strong>Posted:</strong> 25 February 2025 at 6:37am<br /><br />Thanks, the&nbsp;<span style=": rgb248, 248, 252;">XTPTabClientWnd change fixed the issue and the program is no longer crashing.</span>]]>
   </description>
   <pubDate>Tue, 25 Feb 2025 06:37:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24551&amp;PID=79156&amp;title=cxtptabclientwnd-enabletearoff-issues#79156</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd - EnableTearOff issues : Hello,File &amp;#034;C:\Program Files...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24551&amp;PID=79155&amp;title=cxtptabclientwnd-enabletearoff-issues#79155</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9012">agontarenko</a><br /><strong>Subject:</strong> 24551<br /><strong>Posted:</strong> 25 February 2025 at 5:51am<br /><br /><div>Hello,</div><div><br></div><div>File "C:\Program Files (x86)\Codejock Software\MFC\Xtreme ToolkitPro v24.1.0\Source\CommandBars\XTPTabClientWnd.cpp"</div><div><br></div><div>Replace line <br></div><div>&nbsp;&nbsp; pTearOffFrm-&gt;SetOwner(context.m_pCurrentFrame);</div><div>with this</div><div>&nbsp;&nbsp; pTearOffFrm-&gt;SetOwner(AfxGetMainWnd());</div><div>and rebuild CJ</div><div><br></div><div>Regards,</div><div>Artem Gontarenko</div>]]>
   </description>
   <pubDate>Tue, 25 Feb 2025 05:51:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24551&amp;PID=79155&amp;title=cxtptabclientwnd-enabletearoff-issues#79155</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd - EnableTearOff issues : Hello,I&amp;#039;ve able to reproduce...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24551&amp;PID=79154&amp;title=cxtptabclientwnd-enabletearoff-issues#79154</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9012">agontarenko</a><br /><strong>Subject:</strong> 24551<br /><strong>Posted:</strong> 24 February 2025 at 7:29am<br /><br /><div>Hello,</div><div><br></div><div>I've able to reproduce problem</div><div><br></div><div><div>Regards,</div><div>Artem Gontarenko</div></div>]]>
   </description>
   <pubDate>Mon, 24 Feb 2025 07:29:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24551&amp;PID=79154&amp;title=cxtptabclientwnd-enabletearoff-issues#79154</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd - EnableTearOff issues : Codejock Toolkit Pro version 24.1Windows...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24551&amp;PID=79153&amp;title=cxtptabclientwnd-enabletearoff-issues#79153</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9273">jw_statica</a><br /><strong>Subject:</strong> 24551<br /><strong>Posted:</strong> 21 February 2025 at 6:23am<br /><br />Codejock Toolkit Pro version 24.1<div>Windows 11</div><div>Visual Studio 2022 17.13.0</div><div><br></div><div>Codejock was also recompiled with C++20 enabled</div>]]>
   </description>
   <pubDate>Fri, 21 Feb 2025 06:23:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24551&amp;PID=79153&amp;title=cxtptabclientwnd-enabletearoff-issues#79153</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd - EnableTearOff issues : Hello,What version of CJ you use?What...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24551&amp;PID=79152&amp;title=cxtptabclientwnd-enabletearoff-issues#79152</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9012">agontarenko</a><br /><strong>Subject:</strong> 24551<br /><strong>Posted:</strong> 21 February 2025 at 5:48am<br /><br /><div>Hello,</div><div><br></div>What version of CJ you use?<br>What version of Windows and Vistual Studio you use?<div><br></div><div>Regards,</div><div>Artem Gontarenko</div>]]>
   </description>
   <pubDate>Fri, 21 Feb 2025 05:48:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24551&amp;PID=79152&amp;title=cxtptabclientwnd-enabletearoff-issues#79152</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd - EnableTearOff issues : Unfortunately the same crash happens...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24551&amp;PID=79148&amp;title=cxtptabclientwnd-enabletearoff-issues#79148</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9273">jw_statica</a><br /><strong>Subject:</strong> 24551<br /><strong>Posted:</strong> 20 February 2025 at 6:17am<br /><br />Unfortunately the same crash happens in unmodified&nbsp;<span style=": rgb248, 248, 252;">MDITabWindow&nbsp;and&nbsp;</span><span style=": rgb248, 248, 252;">GUI_VisualStudio. They seem to have both of these overrides implemented. The crash can be easily reproduced in those examples the same way as shown in the RibbonMDI video.</span>]]>
   </description>
   <pubDate>Thu, 20 Feb 2025 06:17:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24551&amp;PID=79148&amp;title=cxtptabclientwnd-enabletearoff-issues#79148</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd - EnableTearOff issues : Hello,To resolve your provblem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24551&amp;PID=79147&amp;title=cxtptabclientwnd-enabletearoff-issues#79147</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9012">agontarenko</a><br /><strong>Subject:</strong> 24551<br /><strong>Posted:</strong> 19 February 2025 at 10:27am<br /><br /><div>Hello,</div><div><br></div><div>To resolve your provblem you need to change</div><div>1. Base class to&nbsp;CXTPMDIFrameWndEx. class CMainFrame : public CXTPMDIFrameWndEx</div><div>2. Add virtual functions as below</div><div>&nbsp;&nbsp;&nbsp; virtual CXTPDockingPaneManager* GetDockingPaneManager();<br>&nbsp;&nbsp;&nbsp; virtual CXTPTabClientWnd* GetTabClientWnd();</div><div><br>CXTPDockingPaneManager* CMainFrame::GetDockingPaneManager()<br>{<br>&nbsp;&nbsp;&nbsp; return NULL;<br>}<br><br>CXTPTabClientWnd* CMainFrame::GetTabClientWnd()<br>{<br>&nbsp;&nbsp;&nbsp; return &amp;m_wndClient;<br>}</div><div><br></div><div>3. Add GetTabClientWnd()-&gt;Detach(); call to OnDestroy function</div><div><br></div><div>void CMainFrame::OnDestroy()<br>{<br>&nbsp;&nbsp;&nbsp; // Save command bars state into the registry profile<br>&nbsp;&nbsp;&nbsp; SaveCommandBars(_T("CommandBars"));<br><br>&nbsp;&nbsp;&nbsp; CXTPMDIFrameWndEx::OnDestroy();<br><br>&nbsp;&nbsp;&nbsp; GetTabClientWnd()-&gt;Detach();<br>}</div><div><br></div><div>4. See please MDITabWindow and GUI_VisualStudio samples</div><div><br></div><div>Regards,</div><div>Artem Gontarenko</div>]]>
   </description>
   <pubDate>Wed, 19 Feb 2025 10:27:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24551&amp;PID=79147&amp;title=cxtptabclientwnd-enabletearoff-issues#79147</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd - EnableTearOff issues : If you enable tear off in CXTPTabClientWnd...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=24551&amp;PID=79144&amp;title=cxtptabclientwnd-enabletearoff-issues#79144</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9273">jw_statica</a><br /><strong>Subject:</strong> 24551<br /><strong>Posted:</strong> 10 February 2025 at 5:24am<br /><br />If you enable tear off in CXTPTabClientWnd object, you can take off tabs from the window and it works, it will spawn a new window once taken outside the window. Then that new window can be placed back onto it's original window, bringing back the taken off tabs. However, if you take off a tab from that new window, if the tab is the only tab appearing on that window, it will initially once again create a new window - but otherwise program will completely break during processing input messages, with assertions implying that the program is still trying to access a window that doesn't exist.<div><br></div><div>The issue can be easily reproduced by simply adding a&nbsp;m_wndClient.EnableTearOff(); line in RibbonMDISample.</div><div><br></div><div>We have created a video that more clearly shows the issue:&nbsp;<a href="https://statica.pl/pliki/n5/Ribb&#111;nMDI_Tearoff.mp4" target="_blank" rel="nofollow">https://statica.pl/pliki/n5/RibbonMDI_Tearoff.mp4</a></div>]]>
   </description>
   <pubDate>Mon, 10 Feb 2025 05:24:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=24551&amp;PID=79144&amp;title=cxtptabclientwnd-enabletearoff-issues#79144</guid>
  </item> 
 </channel>
</rss>