<?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 : CXTPToolBar: how to disable multiline align style</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPToolBar: how to disable multiline align style]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 04:17:54 +0000</pubDate>
  <lastBuildDate>Wed, 02 Feb 2011 21:17:02 +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=17800</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[CXTPToolBar: how to disable multiline align style : any help ? implement a custom...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17800&amp;PID=62406&amp;title=cxtptoolbar-how-to-disable-multiline-align-style#62406</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3668">lovelypp</a><br /><strong>Subject:</strong> 17800<br /><strong>Posted:</strong> 02 February 2011 at 9:17pm<br /><br />any help ?<DIV>implement a custom draw manager ? how ?</DIV><DIV>&nbsp;</DIV><DIV>thanks!</DIV>]]>
   </description>
   <pubDate>Wed, 02 Feb 2011 21:17:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17800&amp;PID=62406&amp;title=cxtptoolbar-how-to-disable-multiline-align-style#62406</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolBar: how to disable multiline align style : I added the following line: m...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17800&amp;PID=62335&amp;title=cxtptoolbar-how-to-disable-multiline-align-style#62335</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3668">lovelypp</a><br /><strong>Subject:</strong> 17800<br /><strong>Posted:</strong> 27 January 2011 at 9:08am<br /><br /><img src="http://forum.codejock.com/smileys/smiley4.gif" height="17" width="17" border="0" alt="Big smile" title="Big smile" />I added the following line:<DIV>&nbsp;m_wndToolBar-&gt;EnableDocking(xtpFlagHideWrap);</DIV><DIV>&nbsp;</DIV><DIV>now it looks as following:</DIV><DIV><img src="http://forum.codejock.com/uploads/3668/2011-1-27_22-00-58.jpg" height="184" width="288" border="0" /></DIV><DIV>it works! </DIV><DIV>greate and thanks !</DIV><DIV>&nbsp;</DIV><DIV>now <strong>my second question</strong>: when there are many video windows, when the user click one, how to setbkcolor of the toolbar or highlight the toolbar to show the active window ?</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 27 Jan 2011 09:08:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17800&amp;PID=62335&amp;title=cxtptoolbar-how-to-disable-multiline-align-style#62335</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolBar: how to disable multiline align style : my code is as following:  int...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17800&amp;PID=62333&amp;title=cxtptoolbar-how-to-disable-multiline-align-style#62333</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3668">lovelypp</a><br /><strong>Subject:</strong> 17800<br /><strong>Posted:</strong> 27 January 2011 at 8:17am<br /><br /><DIV>my code is as following: </DIV><DIV>int CVidFrameWnd::OnCreate(LPCREATESTRUCT lpCreateStruct)<BR>{<BR>&nbsp;&nbsp;&nbsp;&nbsp; if (CXTPFrameWnd::OnCreate(lpCreateStruct) == -1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return -1;</DIV><P>&nbsp;&nbsp;&nbsp;&nbsp; if (!InitCommandBars())<BR>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return -1;</P><P>&nbsp;&nbsp;&nbsp; &nbsp;CXTPCommandBars* pCommandBars = GetCommandBars();<BR>&nbsp;&nbsp;&nbsp;&nbsp; pCommandBars-&gt;GetCommandBarsOptions()-&gt;bShowExpandButtonAlways = FALSE;</P><P>&nbsp;&nbsp;&nbsp; &nbsp;// Create ToolBar<BR>&nbsp;&nbsp;&nbsp;&nbsp; m_wndToolBar = (CXTPToolBar *)pCommandBars-&gt;Add(_T("Video Toolbar"), xtpBarTop);<BR>&nbsp;&nbsp;&nbsp;&nbsp; if(!m_wndToolBar || !m_wndToolBar-&gt;LoadToolBar(IDR_TOOLBAR_VIDEO))<BR>&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TRACE0("Failed to create video toolbar\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return -1;<BR>&nbsp;&nbsp;&nbsp;&nbsp; }</P><DIV>&nbsp;&nbsp;&nbsp;&nbsp; ......</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; m_wndToolBar-&gt;SetFlags(xtpFlagStretched); </DIV><P>&nbsp;&nbsp;&nbsp;&nbsp; ......&nbsp;</P><DIV>&nbsp;&nbsp;&nbsp;&nbsp; return 0;<BR>}<BR></DIV><DIV>I did not set xtpFlagWrapRow flag, and if I use:</DIV><DIV>m_wndToolBar-&gt;SetFlags(xtpFlagStretched, xtpFalgWrapRow);</DIV><DIV>the toobar still aligns into two rows if the horizon space is two small. </DIV><DIV>any other hints ? thanks!</DIV>]]>
   </description>
   <pubDate>Thu, 27 Jan 2011 08:17:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17800&amp;PID=62333&amp;title=cxtptoolbar-how-to-disable-multiline-align-style#62333</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolBar: how to disable multiline align style : Maybe you call EnableDocking +xtpFlagWrapRow...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17800&amp;PID=62322&amp;title=cxtptoolbar-how-to-disable-multiline-align-style#62322</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17800<br /><strong>Posted:</strong> 27 January 2011 at 3:41am<br /><br />Maybe you call EnableDocking +&nbsp;xtpFlagWrapRow then ?]]>
   </description>
   <pubDate>Thu, 27 Jan 2011 03:41:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17800&amp;PID=62322&amp;title=cxtptoolbar-how-to-disable-multiline-align-style#62322</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolBar: how to disable multiline align style : No, I did not call CalcDockingLayout...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17800&amp;PID=62320&amp;title=cxtptoolbar-how-to-disable-multiline-align-style#62320</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3668">lovelypp</a><br /><strong>Subject:</strong> 17800<br /><strong>Posted:</strong> 26 January 2011 at 11:09pm<br /><br />No, I did not call CalcDockingLayout at all.<DIV>the toolbar just&nbsp; aligns to two lines automatically&nbsp;when the window size changes.</DIV><DIV>is there any option that can disable the auto alignment (and force it in one line)?</DIV><DIV>&nbsp;</DIV><DIV>thanks!</DIV>]]>
   </description>
   <pubDate>Wed, 26 Jan 2011 23:09:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17800&amp;PID=62320&amp;title=cxtptoolbar-how-to-disable-multiline-align-style#62320</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolBar: how to disable multiline align style : Hi,You manually call CalcDockingLayout...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17800&amp;PID=62297&amp;title=cxtptoolbar-how-to-disable-multiline-align-style#62297</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17800<br /><strong>Posted:</strong> 25 January 2011 at 7:20am<br /><br />Hi,<div><br></div><div>You manually call CalcDockingLayout ?&nbsp;Add LM_HIDEWRAP then.</div>]]>
   </description>
   <pubDate>Tue, 25 Jan 2011 07:20:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17800&amp;PID=62297&amp;title=cxtptoolbar-how-to-disable-multiline-align-style#62297</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPToolBar: how to disable multiline align style : when the horizontal size is too...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17800&amp;PID=62265&amp;title=cxtptoolbar-how-to-disable-multiline-align-style#62265</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3668">lovelypp</a><br /><strong>Subject:</strong> 17800<br /><strong>Posted:</strong> 21 January 2011 at 11:34am<br /><br /><P>when the horizontal size is too small, the toolbar aligns itself into two lines, just as the following:</P><P align=center><img src="http://forum.codejock.com/uploads/3668/2011-1-22_0-07-05.jpg" height="509" width="547" border="0" align="middle" /></P><DIV></DIV>I have two question here:<DIV><strong>1.</strong>&nbsp; how to disable the multiline align style ? so that the toolbar always aligns itself into one line?</DIV><DIV><strong>2.</strong> because there are six video window totally, when user clicks one window,&nbsp; how to set the backcolor of the corresponding toolbar ? (or focus the corresponding toolbar) so that the user can know which video window is activated obviously.</DIV><DIV>&nbsp;</DIV><DIV>thanks!</DIV>]]>
   </description>
   <pubDate>Fri, 21 Jan 2011 11:34:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17800&amp;PID=62265&amp;title=cxtptoolbar-how-to-disable-multiline-align-style#62265</guid>
  </item> 
 </channel>
</rss>