<?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 : Set an Height for the CommandBar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Set an Height for the CommandBar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 07:17:39 +0000</pubDate>
  <lastBuildDate>Tue, 15 Jul 2008 09:31:09 +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=11446</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[Set an Height for the CommandBar : Great, thats ok. Thank you Oleg!!!...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11446&amp;PID=38391&amp;title=set-an-height-for-the-commandbar#38391</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1999">FSauer</a><br /><strong>Subject:</strong> 11446<br /><strong>Posted:</strong> 15 July 2008 at 9:31am<br /><br />Great, thats ok.<DIV>Thank you Oleg!!!</DIV>]]>
   </description>
   <pubDate>Tue, 15 Jul 2008 09:31:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11446&amp;PID=38391&amp;title=set-an-height-for-the-commandbar#38391</guid>
  </item> 
  <item>
   <title><![CDATA[Set an Height for the CommandBar : Hello,  you can try   GetC...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11446&amp;PID=38382&amp;title=set-an-height-for-the-commandbar#38382</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11446<br /><strong>Posted:</strong> 15 July 2008 at 9:20am<br /><br />Hello,<DIV></DIV><DIV></DIV>you can try <DIV>&nbsp;</DIV><DIV>GetCommandBars()-&gt;GetCommandBarsOptions()-&gt;bShowTextBelowIcons =TRUE</DIV><DIV>instead </DIV><DIV>xtpFlagSmartLayout</DIV>]]>
   </description>
   <pubDate>Tue, 15 Jul 2008 09:20:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11446&amp;PID=38382&amp;title=set-an-height-for-the-commandbar#38382</guid>
  </item> 
  <item>
   <title><![CDATA[Set an Height for the CommandBar : Hi at all. How can i set an Height...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11446&amp;PID=38357&amp;title=set-an-height-for-the-commandbar#38357</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1999">FSauer</a><br /><strong>Subject:</strong> 11446<br /><strong>Posted:</strong> 15 July 2008 at 4:00am<br /><br /><P>Hi at all.</P><DIV>How can i set an Height for my CommandBar?</DIV><DIV>&nbsp;</DIV><DIV>I test some ideas, but nothing works.</DIV><DIV>Have any body a solution?</DIV><DIV>&nbsp;</DIV><DIV>At the moment it looks like:</DIV><DIV><img src="https://forum.codejock.com/uploads/20080715_035620_Ist.jpg" border="0"></DIV><DIV>&nbsp;</DIV><DIV>It should looks like:</DIV><DIV><img src="https://forum.codejock.com/uploads/20080715_035816_Soll.jpg" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Below is my Code:</DIV><DIV>&nbsp;</DIV><DIV>CXTPCommandBars* pCommandBars = GetCommandBars();<BR>&nbsp;pCommandBars-&gt;GetCommandBarsOptions()-&gt;bShowExpandButtonAlways = FALSE;</DIV><P>&nbsp;CXTPCommandBar* pMenuBar = pCommandBars-&gt;SetMenu(_T("Menu Bar"), IDR_MAINFRAME);<BR>&nbsp;pMenuBar-&gt;SetFlags(xtpFlagIgnoreSetMenuMessage | xtpFlagHideMDIButtons | xtpFlagAlignTop );<BR>//&nbsp;pMenuBar-&gt;SetVisible(FALSE);</P><P>&nbsp;CXTPToolBar* pStandardBar = (CXTPToolBar*)pCommandBars-&gt;Add(_T("Standard"), xtpBarTop);<BR>&nbsp;if (!pStandardBar ||<BR>&nbsp;&nbsp;!pStandardBar-&gt;LoadToolBar(IDR_STANDARDBAR))<BR>&nbsp;{<BR>&nbsp;&nbsp;CSysDiagApp::m_Log.WriteLine("&#091;Fehler&#093;\t Toolbar erzeugen fehlgeschlagen!");<BR>&nbsp;&nbsp;return -1;<BR>&nbsp;}<BR>&nbsp;pStandardBar-&gt;SetShowGripper(FALSE);<BR>&nbsp;pStandardBar-&gt;EnableDocking(xtpFlagAlignTop | xtpFlagStretched | xtpFlagSmartLayout);<BR>&nbsp;pStandardBar-&gt;SetCloseable(FALSE);</P><P>&nbsp;CSize size = pStandardBar-&gt;GetButtonSize();<BR>&nbsp;size.cy -= 5;<BR>//&nbsp;pStandardBar-&gt;SetButtonSize(CSize(60,20));<BR>//&nbsp;pStandardBar-&gt;SetIconSize(CSize(16,16));<BR>&nbsp;pCommandBars-&gt;GetImageManager()-&gt;SetIcons(IDB_LARGEICONS);</P><DIV>&nbsp;</DIV><DIV>Regards </DIV><DIV>Fabian<BR></DIV>]]>
   </description>
   <pubDate>Tue, 15 Jul 2008 04:00:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11446&amp;PID=38357&amp;title=set-an-height-for-the-commandbar#38357</guid>
  </item> 
 </channel>
</rss>