<?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 : Despite ShowExpandButton(TRUE) no buttons</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Despite ShowExpandButton(TRUE) no buttons]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 00:30:20 +0000</pubDate>
  <lastBuildDate>Wed, 12 Mar 2008 05:05:56 +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=9840</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[Despite ShowExpandButton(TRUE) no buttons : Hi,   if someone else encounters...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9840&amp;PID=32183&amp;title=despite-showexpandbuttontrue-no-buttons#32183</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 9840<br /><strong>Posted:</strong> 12 March 2008 at 5:05am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>if someone else encounters the same problem. The solution is a fix in XTPToolbar.cpp function <FONT size=2>BOOL CXTPToolBar::CControlButtonExpand::OnSetPopup(BOOL bPopup) </DIV><P>replace</P><P>CXTPCommandBars* pCommandBars = m_pParent-&gt;GetCommandBars();</P><P>if (pCommandBars)</P><P>to</P><P><strong>CXTPCommandBars* pCommandBars = m_pParent-&gt;GetCommandBars();</strong></P><P><strong>if (pCommandBars &amp;&amp; ((CXTPToolBar*)m_pParent)-&gt;m_pDockContext)</strong></P><DIV></DIV><P>Many thanks to Oleg!!!</FONT></P>]]>
   </description>
   <pubDate>Wed, 12 Mar 2008 05:05:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9840&amp;PID=32183&amp;title=despite-showexpandbuttontrue-no-buttons#32183</guid>
  </item> 
  <item>
   <title><![CDATA[Despite ShowExpandButton(TRUE) no buttons : Hi; I created a toolbar within...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9840&amp;PID=32096&amp;title=despite-showexpandbuttontrue-no-buttons#32096</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 9840<br /><strong>Posted:</strong> 10 March 2008 at 12:07pm<br /><br />Hi;<DIV>I created a toolbar within my on CWnd derives class. This class is the child of a docking pane also.</DIV><DIV>When I&nbsp;shrink the pane the toolbar expand button appears but none of the&nbsp;hidden buttons are shown in the popup window. What's wrong here?</DIV><DIV>&nbsp;</DIV><DIV>I built the toolbar / commandbars object like this:</DIV><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"><DIV><FONT face="Courier New, Courier, mono"><FONT size=2><FONT size=2><P>_pCmdBars=</FONT><FONT color=#0000ff size=2>reinterpret_cast</FONT><FONT size=2>&lt;CXTPCommandBars*&gt;(CXTPCommandBars::CreateObject());</P><DIV></FONT></FONT></FONT><FONT face="Courier New, Courier, mono"><FONT size=2>_pCmdBars-&gt;GetToolTipContext()-&gt;SetStyle(xtpToolTipOffice2007);<BR>_pCmdBars-&gt;SetSite(</FONT><FONT color=#0000ff size=2>this</FONT></FONT><FONT face="Courier New, Courier, mono"><FONT size=2>);<BR>_pCmdBars-&gt;EnableCustomization(FALSE);<BR>_pCmdBars-&gt;GetCommandBarsOptions()-&gt;bShowExpandButtonAlways=FALSE;<BR>_toolbar.SetCommandBars(_pCmdBars);<BR>_toolbar.ShowExpandButton(TRUE);<BR>VERIFY(_toolbar.CreateToolBar(WS_TABSTOP|WS_VISIBLE|WS_CHILD|CBRS_TOOLTIPS, </FONT><FONT color=#0000ff size=2>this</FONT></FONT><FONT face="Courier New, Courier, mono" size=2>));<BR>VERIFY(_toolbar.LoadToolBar(IDR_TOOLBAR_PROCESSEXPLORER));</FONT></DIV></DIV></BLOCKQUOTE><DIV dir=ltr><FONT size=2><img src="https://forum.codejock.com/uploads/20080310_120516_Toolbar_02.bmp" border="0"></FONT></DIV><DIV dir=ltr><FONT size=2></FONT>&nbsp;</DIV><DIV dir=ltr><FONT size=2>Any help is very welcome!</DIV></FONT>]]>
   </description>
   <pubDate>Mon, 10 Mar 2008 12:07:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9840&amp;PID=32096&amp;title=despite-showexpandbuttontrue-no-buttons#32096</guid>
  </item> 
 </channel>
</rss>