<?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 : Bug in TabClientWnd in 10.4</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Bug in TabClientWnd in 10.4]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 22:48:38 +0000</pubDate>
  <lastBuildDate>Wed, 10 Jan 2007 09:41:01 +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=6033</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[Bug in TabClientWnd in 10.4 : Hi, problem that if you use Enablegroups...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6033&amp;PID=19116&amp;title=bug-in-tabclientwnd-in-10-4#19116</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6033<br /><strong>Posted:</strong> 10 January 2007 at 9:41am<br /><br />Hi, problem that if you use Enablegroups option (think it was FALSE in previour releases and was reason why it worked) TabClient automatically remove caption if child windows. SO you have switch it back:<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>if (m_MTIClientWnd.GetSafeHwnd())<BR>{<BR>m_MTIClientWnd.Detach();<BR><BR>HWND hWnd = ::GetWindow(m_hWndMDIClient, GW_CHILD);<BR>while (hWnd)<BR>{<BR>CWnd::ModifyStyle(hWnd, 0, WS_CAPTION, SWP_FRAMECHANGED);<BR>hWnd = ::GetWindow(hWnd, GW_HWNDNEXT);<BR>}<BR>MDICascade();<BR>}<BR>else<BR>{<BR>HWND hWnd = ::GetWindow(m_hWndMDIClient, GW_CHILD);<BR>while (hWnd)<BR>{<BR>CWnd::ModifyStyle(hWnd, WS_CAPTION, 0, SWP_FRAMECHANGED);<BR>hWnd = ::GetWindow(hWnd, GW_HWNDNEXT);<BR>}<BR>m_MTIClientWnd.Attach(this, TRUE);<BR>}<BR><BR>RecalcLayout();<BR>::RedrawWindow(m_MTIClientWnd, 0, 0, RDW_INVALIDATE|RDW_UPDATENOW|RDW_ALLCHILDREN);&nbsp;&nbsp; </DIV>]]>
   </description>
   <pubDate>Wed, 10 Jan 2007 09:41:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6033&amp;PID=19116&amp;title=bug-in-tabclientwnd-in-10-4#19116</guid>
  </item> 
  <item>
   <title><![CDATA[Bug in TabClientWnd in 10.4 : Any ideas how to solve this? ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6033&amp;PID=19113&amp;title=bug-in-tabclientwnd-in-10-4#19113</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1322">danpetitt</a><br /><strong>Subject:</strong> 6033<br /><strong>Posted:</strong> 10 January 2007 at 9:09am<br /><br />Any ideas how to solve this?]]>
   </description>
   <pubDate>Wed, 10 Jan 2007 09:09:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6033&amp;PID=19113&amp;title=bug-in-tabclientwnd-in-10-4#19113</guid>
  </item> 
  <item>
   <title><![CDATA[Bug in TabClientWnd in 10.4 :   void CMainFrame:OnChangeWorkspaceOption() {if(...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6033&amp;PID=19057&amp;title=bug-in-tabclientwnd-in-10-4#19057</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1322">danpetitt</a><br /><strong>Subject:</strong> 6033<br /><strong>Posted:</strong> 09 January 2007 at 10:36am<br /><br /><P><table width="99%"><tr><td><pre class="BBcode"></P><DIV>void CMainFrame:OnChangeWorkspaceOption()</DIV><DIV>{<BR>&nbsp;if( m_bShowTabs )<BR>&nbsp;{<BR>&nbsp;&nbsp;VERIFY( m_MTIClientWnd.Attach( this, TRUE ) );<BR>&nbsp;&nbsp;m_MTIClientWnd.EnableToolTips();<BR>&nbsp;&nbsp;m_MTIClientWnd.GetPaintManager()-&gt;m_bShowIcons = TRUE;<BR>&nbsp;}<BR>&nbsp;else<BR>&nbsp;{<BR>&nbsp;&nbsp;m_MTIClientWnd.Detach();<BR>&nbsp;}</DIV><DIV>}</DIV><DIV>&nbsp;</DIV><DIV>and...</DIV><DIV><BR>int CChildFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)<BR>{<BR>&nbsp;if (CMDIChildWnd::OnCreate(lpCreateStruct) == -1)<BR>&nbsp;&nbsp;return -1;</DIV><P>&nbsp;if( theApp.GetMainFrame()-&gt;m_bShowTabs )<BR>&nbsp;{<BR>&nbsp;&nbsp;XTPImageManager()-&gt;SetMaskColor( RGB(0xC0, 0xC0, 0xC0) );<BR>&nbsp;&nbsp;VERIFY( m_wndDocumentViewToolBar.CreateToolBar( WS_TABSTOP|WS_VISIBLE|WS_CHILD|CBRS_TOOLTIPS, this ) );<BR>&nbsp;&nbsp;VERIFY( m_wndDocumentViewToolBar.LoadToolBar( IDR_SGENIETYPE ) );</P><P>&nbsp;&nbsp;CMenu* pMenu = GetSystemMenu(FALSE);<BR>&nbsp;&nbsp;pMenu-&gt;RemoveMenu(SC_RESTORE, MF_BYCOMMAND);<BR>&nbsp;&nbsp;pMenu-&gt;RemoveMenu(SC_MINIMIZE, MF_BYCOMMAND);<BR>&nbsp;&nbsp;pMenu-&gt;RemoveMenu(SC_MAXIMIZE, MF_BYCOMMAND);<BR>&nbsp;&nbsp;pMenu-&gt;RemoveMenu(SC_MOVE, MF_BYCOMMAND);<BR>&nbsp;&nbsp;pMenu-&gt;RemoveMenu(SC_SIZE, MF_BYCOMMAND);<BR>&nbsp;}</P><P>&nbsp;return 0;<BR>}</pre></td></tr></table></P>]]>
   </description>
   <pubDate>Tue, 09 Jan 2007 10:36:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6033&amp;PID=19057&amp;title=bug-in-tabclientwnd-in-10-4#19057</guid>
  </item> 
  <item>
   <title><![CDATA[Bug in TabClientWnd in 10.4 : Hi, Show me code you have now...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6033&amp;PID=19055&amp;title=bug-in-tabclientwnd-in-10-4#19055</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6033<br /><strong>Posted:</strong> 09 January 2007 at 10:28am<br /><br /><P>Hi,</P><DIV>Show me code you have now to switch it.</DIV>]]>
   </description>
   <pubDate>Tue, 09 Jan 2007 10:28:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6033&amp;PID=19055&amp;title=bug-in-tabclientwnd-in-10-4#19055</guid>
  </item> 
  <item>
   <title><![CDATA[Bug in TabClientWnd in 10.4 : That works a bit better, but if...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6033&amp;PID=19044&amp;title=bug-in-tabclientwnd-in-10-4#19044</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1322">danpetitt</a><br /><strong>Subject:</strong> 6033<br /><strong>Posted:</strong> 09 January 2007 at 6:12am<br /><br />That works a bit better, but if I do this whilst the program is running (i.e. through an Options page) then it doesnt work very nicely at all ... can you give me the steps I should do to achieve this.<DIV>&nbsp;</DIV><DIV>Currently I 'detach' the MTIClientWnd if its off, and 'attach' it if its on, and I have wrapped up the code on ChildFrm::OnCreate around a check for the tabs enabled flag.</DIV><DIV>&nbsp;</DIV><DIV>What else do i need to do?</DIV>]]>
   </description>
   <pubDate>Tue, 09 Jan 2007 06:12:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6033&amp;PID=19044&amp;title=bug-in-tabclientwnd-in-10-4#19044</guid>
  </item> 
  <item>
   <title><![CDATA[Bug in TabClientWnd in 10.4 : Hi, Comment also code in int...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6033&amp;PID=19016&amp;title=bug-in-tabclientwnd-in-10-4#19016</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6033<br /><strong>Posted:</strong> 08 January 2007 at 4:31pm<br /><br />Hi,<DIV>Comment also code in int CChildFrame::OnCreate(LPCREATESTRUCT lpCreateStruct) <BR></DIV>]]>
   </description>
   <pubDate>Mon, 08 Jan 2007 16:31:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6033&amp;PID=19016&amp;title=bug-in-tabclientwnd-in-10-4#19016</guid>
  </item> 
  <item>
   <title><![CDATA[Bug in TabClientWnd in 10.4 : You can no longer turn off tabs...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6033&amp;PID=19011&amp;title=bug-in-tabclientwnd-in-10-4#19011</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1322">danpetitt</a><br /><strong>Subject:</strong> 6033<br /><strong>Posted:</strong> 08 January 2007 at 10:33am<br /><br />You can no longer turn off tabs in 10.4. You used to be able to detach the mTIClientWnd&nbsp;and the documents still appeared maximised and everything was okay. Now you cant.<DIV>&nbsp;</DIV><DIV>For example in VisualStudio sample comment out following lines in MainFrm.cpp:</DIV><DIV><table width="99%"><tr><td><pre class="BBcode"></DIV><DIV>&nbsp;VERIFY(m_MTIClientWnd.Attach(this, TRUE));<BR>&nbsp;m_MTIClientWnd.EnableToolTips();</DIV><DIV>&nbsp;m_MTIClientWnd.GetPaintManager()-&gt;m_bShowIcons = FALSE;<BR>&nbsp;m_MTIClientWnd.SetNewTabPosition(xtpWorkspaceNewTabLeftMost);<BR>&nbsp;m_MTIClientWnd.SetFlags(xtpWorkspaceHideArrowsAlways | xtpWorkspaceShowActiveFiles);<BR></pre></td></tr></table></DIV><DIV>&nbsp;</DIV><DIV>And run it. The docs are in non-maximised state but cant be moved or maximised.</DIV>]]>
   </description>
   <pubDate>Mon, 08 Jan 2007 10:33:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6033&amp;PID=19011&amp;title=bug-in-tabclientwnd-in-10-4#19011</guid>
  </item> 
 </channel>
</rss>