<?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</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : CXTPTabClientWnd]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 07:11:58 +0000</pubDate>
  <lastBuildDate>Fri, 11 Dec 2009 09:03:52 +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=15813</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 : I don&amp;#039;t know realy. But the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15813&amp;PID=55555&amp;title=cxtptabclientwnd#55555</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 15813<br /><strong>Posted:</strong> 11 December 2009 at 9:03am<br /><br />I don't know realy. But the Paint Manager has function SetFontIndirect<br><br>TabManager-&gt;GetPaintManager()-&gt;SetFontIndirect<br><br>&nbsp; Jimmy<br><br>]]>
   </description>
   <pubDate>Fri, 11 Dec 2009 09:03:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15813&amp;PID=55555&amp;title=cxtptabclientwnd#55555</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd : Changing the font? ... Through...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15813&amp;PID=55552&amp;title=cxtptabclientwnd#55552</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5514">feffe</a><br /><strong>Subject:</strong> 15813<br /><strong>Posted:</strong> 11 December 2009 at 8:49am<br /><br />Changing the font?<DIV>... Through the skin builder?</DIV>]]>
   </description>
   <pubDate>Fri, 11 Dec 2009 08:49:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15813&amp;PID=55552&amp;title=cxtptabclientwnd#55552</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd : Sorry, have no suggestion about...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15813&amp;PID=55547&amp;title=cxtptabclientwnd#55547</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 15813<br /><strong>Posted:</strong> 11 December 2009 at 7:22am<br /><br /><br>Sorry, have no suggestion about your ribbon button trouble.<br>I don't use ribbin bar.<br><br>&nbsp; Jimmy<br><br>]]>
   </description>
   <pubDate>Fri, 11 Dec 2009 07:22:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15813&amp;PID=55547&amp;title=cxtptabclientwnd#55547</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd : Thank you very much guys!   My...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15813&amp;PID=55546&amp;title=cxtptabclientwnd#55546</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5514">feffe</a><br /><strong>Subject:</strong> 15813<br /><strong>Posted:</strong> 11 December 2009 at 6:43am<br /><br />Thank you very much guys! <DIV>&nbsp;</DIV><DIV>My work goes on much faster now <img src="https://forum.codejock.com/smileys/smiley17.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>I've tried to set button margin, it still remains this problem:</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20091211_064207_tab.png" border="0"></DIV><DIV>&nbsp;</DIV><DIV>but maybe it's enough to change font height.</DIV><DIV>BTW... a simple call to SetFont? It doesn't seem to work.</DIV><DIV>&nbsp;</DIV><DIV>If you have any suggestion about my ribbonbuttons post... </DIV><DIV>&nbsp;</DIV><DIV>Thank you so&nbsp;much!</DIV>]]>
   </description>
   <pubDate>Fri, 11 Dec 2009 06:43:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15813&amp;PID=55546&amp;title=cxtptabclientwnd#55546</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd : Hi,The height is calculate automatic...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15813&amp;PID=55544&amp;title=cxtptabclientwnd#55544</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 15813<br /><strong>Posted:</strong> 11 December 2009 at 6:04am<br /><br />Hi,<br><br>The height is calculate automatic with the font size.<br>Change font size, than the height will change.<br>Look for m_nButtonHeight in the XTPTabPaintManagerAppearance.cpp.<br>Another way is change the button margin. (Tab Manager Sample). With Copy/Paste you can insert -3 int the top &amp; bottom of <br>Button Margin.<br><br>&nbsp; Jimmy<br><br>]]>
   </description>
   <pubDate>Fri, 11 Dec 2009 06:04:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15813&amp;PID=55544&amp;title=cxtptabclientwnd#55544</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd :    feffe wrote:Ok, thanks. For...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15813&amp;PID=55543&amp;title=cxtptabclientwnd#55543</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 15813<br /><strong>Posted:</strong> 11 December 2009 at 5:33am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by feffe" alt="Originally posted by feffe" style="vertical-align: text-bottom;" /> <strong>feffe wrote:</strong><br /><br /><p>Ok, thanks.</p><p>For the tab heights, any suggestion?</p><p>I always have problem when I try to resize ribbon, tabs etc when my application is skinned</p><p>:(</p></td></tr></table><br>Sorry, no idea!<br>]]>
   </description>
   <pubDate>Fri, 11 Dec 2009 05:33:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15813&amp;PID=55543&amp;title=cxtptabclientwnd#55543</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd : Ok, thanks. For the tab heights,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15813&amp;PID=55542&amp;title=cxtptabclientwnd#55542</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5514">feffe</a><br /><strong>Subject:</strong> 15813<br /><strong>Posted:</strong> 11 December 2009 at 5:24am<br /><br /><P>Ok, thanks.</P><P>For the tab heights, any suggestion?</P><P>I always have problem when I try to resize ribbon, tabs etc when my application is skinned</P><P>:(</P>]]>
   </description>
   <pubDate>Fri, 11 Dec 2009 05:24:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15813&amp;PID=55542&amp;title=cxtptabclientwnd#55542</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd : Hi;I do it this way:Whenever the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15813&amp;PID=55540&amp;title=cxtptabclientwnd#55540</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 15813<br /><strong>Posted:</strong> 11 December 2009 at 4:45am<br /><br />Hi;<br><br>I do it this way:<br><br>Whenever the app creates a new view, I put a pointer to this view into a container by calling a Register function of my main window. When the user closes the view I call a Deregister function of the main window to erase the pointer from this container.<br>So when the user executes a close all command I only have to loop through the container and post a WM_CLOSE message to the view. Deregister is called by the view while closing. Keep this in mind when interating through the container...<br><br>]]>
   </description>
   <pubDate>Fri, 11 Dec 2009 04:45:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15813&amp;PID=55540&amp;title=cxtptabclientwnd#55540</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd : Thank you very much!  For me...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15813&amp;PID=55538&amp;title=cxtptabclientwnd#55538</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5514">feffe</a><br /><strong>Subject:</strong> 15813<br /><strong>Posted:</strong> 11 December 2009 at 3:16am<br /><br /><DIV>Thank you very much!</DIV><DIV>&nbsp;</DIV><DIV>For me it's difficult to find out these message in Codejock.</DIV><DIV>Now I'll try to see if there are simple command also for closing all opened views.</DIV><DIV>&nbsp;</DIV><DIV>EDIT: I've tried this.</DIV><DIV>&nbsp;</DIV><DIV><table width="99%"><tr><td><pre class="BBcode"></DIV><DIV>void CMainFrame::OnCloseAllButThis()</DIV><DIV>{&nbsp; int nCount = _tabClient.GetItemCount();</DIV><DIV>&nbsp;&nbsp; CXTPTabManagerItem *pItem;</DIV><DIV>&nbsp;&nbsp; for( int i = 0; i&nbsp;&lt; nCount; i++ )</DIV><DIV>&nbsp;&nbsp; {&nbsp;&nbsp;pItem&nbsp;= _tabClient.GetItem(i);</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if( pItem)</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {&nbsp;&nbsp;pFrame = CWnd::FromHandle(pItem-&gt;GetHandle());</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if( pFrame != MDIGetActive() )</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pFrame-&gt;PostMessage(WM_CLOSE,0,0);</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</DIV><DIV>&nbsp;&nbsp;&nbsp; }</DIV><DIV>}</DIV><DIV></pre></td></tr></table>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 11 Dec 2009 03:16:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15813&amp;PID=55538&amp;title=cxtptabclientwnd#55538</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTabClientWnd : Hi;Showing a context menu is easy:Catch...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15813&amp;PID=55530&amp;title=cxtptabclientwnd#55530</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 15813<br /><strong>Posted:</strong> 10 December 2009 at 12:53pm<br /><br />Hi;<br><br>Showing a context menu is easy:<br><br>Catch the WM_XTP_PRETRANSLATEMOUSEMSG in your tab owner and in the handler do this:<br><br><table width="99%"><tr><td><pre class="BBcode">LRESULT CMainFrame::OnTabbarMouseMsg( WPARAM wp, LPARAM lp ) {<br>&nbsp;&nbsp;&nbsp; CPoint point = CPoint(static_cast&lt;DWORD&gt;(lp));<br><br>&nbsp;&nbsp;&nbsp; CXTPTabManagerItem* pItem = _tabClient.HitTest(point);<br><br>&nbsp;&nbsp;&nbsp; if (pItem) {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; if (wp == WM_RBUTTONDOWN) {<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CWnd* pFrame = CWnd::FromHandle(pItem-&gt;GetHandle());<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MDIActivate(pFrame);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _tabClient.Refresh();<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CMenu menuPopup;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VERIFY(menuPopup.LoadMenu(IDR_WORKSPACE_POPUP));<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _tabClient.WorkspaceToScreen(&amp;point);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GetCommandBars()-&gt;TrackPopupMenuEx(menuPopup.GetSubMenu(0), 0, point.x, point.y, this);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _tabClient.Refresh();<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return TRUE;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; return FALSE;<br><br>}</pre></td></tr></table><br><br>]]>
   </description>
   <pubDate>Thu, 10 Dec 2009 12:53:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15813&amp;PID=55530&amp;title=cxtptabclientwnd#55530</guid>
  </item> 
 </channel>
</rss>