<?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 : make toolbar fill a row of dockbar</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : make toolbar fill a row of dockbar]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 05:00:40 +0000</pubDate>
  <lastBuildDate>Sat, 07 May 2005 11:03:00 +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=1695</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[make toolbar fill a row of dockbar : I have the same problem.anybody...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1695&amp;PID=6499&amp;title=make-toolbar-fill-a-row-of-dockbar#6499</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1165">docman</a><br /><strong>Subject:</strong> 1695<br /><strong>Posted:</strong> 07 May 2005 at 11:03am<br /><br />I have the same problem.anybody resolved?]]>
   </description>
   <pubDate>Sat, 07 May 2005 11:03:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1695&amp;PID=6499&amp;title=make-toolbar-fill-a-row-of-dockbar#6499</guid>
  </item> 
  <item>
   <title><![CDATA[make toolbar fill a row of dockbar : Oops, I now see that my IssueTrak...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1695&amp;PID=5622&amp;title=make-toolbar-fill-a-row-of-dockbar#5622</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=16">kinook</a><br /><strong>Subject:</strong> 1695<br /><strong>Posted:</strong> 08 March 2005 at 10:02am<br /><br />Oops, I now see that my IssueTrak issue was responded to (never received an email notification of it).  The missing code was<br /><br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pFormatBar-&gt;EnableDocking(x tpFlagAlignAny|xtpFlagFloating|xtpFlagStretched); <br /><br />Unfortunately, it doesn't help me, because I don't want the toolbar to take up the entire row and not allow other toolbars to be docked beside it.]]>
   </description>
   <pubDate>Tue, 08 Mar 2005 10:02:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1695&amp;PID=5622&amp;title=make-toolbar-fill-a-row-of-dockbar#5622</guid>
  </item> 
  <item>
   <title><![CDATA[make toolbar fill a row of dockbar : How is xtpFlagControlStretched...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1695&amp;PID=5620&amp;title=make-toolbar-fill-a-row-of-dockbar#5620</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=16">kinook</a><br /><strong>Subject:</strong> 1695<br /><strong>Posted:</strong> 08 March 2005 at 9:34am<br /><br />How is xtpFlagControlStretched used?  I have a combo on a command bar that I want to size automatically to the size of the command bar rather than being fixed in size.  I tried this in the WordPad sample in CMainFrame::CreateToolBars()<br /><br /> pFormatBar-&gt;GetControls()-&gt;FindControl(ID_COMBO_FONT)- &gt;SetFlags(xtpFlagControlStretched); <br /><br />but it had no apparent effect.  I can't find any samples using it either, and the docs just say "Indicates the control is stretched in the parent command bar".]]>
   </description>
   <pubDate>Tue, 08 Mar 2005 09:34:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1695&amp;PID=5620&amp;title=make-toolbar-fill-a-row-of-dockbar#5620</guid>
  </item> 
  <item>
   <title><![CDATA[make toolbar fill a row of dockbar : Please wait next version. It will...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1695&amp;PID=4899&amp;title=make-toolbar-fill-a-row-of-dockbar#4899</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1695<br /><strong>Posted:</strong> 31 January 2005 at 5:37am<br /><br />Please wait next version. It will be new xtpFlagControlStretched flag.]]>
   </description>
   <pubDate>Mon, 31 Jan 2005 05:37:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1695&amp;PID=4899&amp;title=make-toolbar-fill-a-row-of-dockbar#4899</guid>
  </item> 
  <item>
   <title><![CDATA[make toolbar fill a row of dockbar : no one can help me? ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1695&amp;PID=4844&amp;title=make-toolbar-fill-a-row-of-dockbar#4844</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=574">blueseaing</a><br /><strong>Subject:</strong> 1695<br /><strong>Posted:</strong> 26 January 2005 at 9:00am<br /><br /><P>no one can help me? </P>]]>
   </description>
   <pubDate>Wed, 26 Jan 2005 09:00:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1695&amp;PID=4844&amp;title=make-toolbar-fill-a-row-of-dockbar#4844</guid>
  </item> 
  <item>
   <title><![CDATA[make toolbar fill a row of dockbar : I think the change should include...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1695&amp;PID=4816&amp;title=make-toolbar-fill-a-row-of-dockbar#4816</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=574">blueseaing</a><br /><strong>Subject:</strong> 1695<br /><strong>Posted:</strong> 23 January 2005 at 1:21am<br /><br /><P>I think the change should include the above: </P><P>&nbsp;&nbsp;&nbsp;&nbsp; CSize CXTPToolBar::CalcDynamicLayout(int nLength, DWORD nMode);&nbsp;&nbsp;&nbsp; </P><P>&nbsp;&nbsp;&nbsp;&nbsp; void CXTPDockContext::Move(CPoint pt);</P><P>&nbsp;&nbsp;&nbsp;&nbsp; BOOL CXTPCommandBars::DockCommandBar(CXTPToolBar* pBar, LPRECT lpRect, CXTPDockBar* pDockBar);<BR>&nbsp;<BR></P>]]>
   </description>
   <pubDate>Sun, 23 Jan 2005 01:21:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1695&amp;PID=4816&amp;title=make-toolbar-fill-a-row-of-dockbar#4816</guid>
  </item> 
  <item>
   <title><![CDATA[make toolbar fill a row of dockbar : I want to implement a CXTPToolbar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1695&amp;PID=4815&amp;title=make-toolbar-fill-a-row-of-dockbar#4815</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=574">blueseaing</a><br /><strong>Subject:</strong> 1695<br /><strong>Posted:</strong> 23 January 2005 at 1:15am<br /><br /><P>I want to implement a CXTPToolbar which can auto fill a row of dockbar , the toolbar&nbsp;&nbsp; contain some controls which can stretch such as CXTPComBox, I realize such code:</P><P>//the above code can stretch the toolbar<BR>void CXTPToolBar::AdjustWidth(int nAddedWidth, BOOL bFill)<BR>{<BR>&nbsp;for(int i=0;i&lt;GetControls()-&gt;GetCount();i++)<BR>&nbsp;{<BR>&nbsp;&nbsp;CXTPControl* pControl = m_pControls-&gt;GetAt(i); </P><P> &nbsp;&nbsp;if(pControl-&gt;IsKindOf(RUNTIME_CLASS(CXTPContr olComboBox))<BR> &nbsp;&nbsp;&nbsp;&amp;&amp;(pControl-&gt;GetFlags()&amp;xtp FlagControlStretched))&nbsp; <BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;CXTPControlComboBox* pCombox = (CXTPControlComboBox*) pControl;<BR>&nbsp;&nbsp;&nbsp;if(bFill)<BR>&nbsp;&nbsp;&nbsp;&nbsp;nAddedWidth = GetDockBar()-&gt;GetMaxFreeWidth(this);&nbsp;&nbsp;&nbsp;</P><P> &nbsp;&nbsp;&nbsp;pCombox-&gt;SetWidth(pCombox-&gt;GetWidth( )+nAddedWidth);<BR> &nbsp;&nbsp;&nbsp;pCombox-&gt;SetDropDownWidth(pCombox-&gt;G etWidth()+nAddedWidth);<BR>&nbsp;&nbsp;}<BR>&nbsp;}<BR>}</P><P>but my problem lies in: when I make a toolbar fill a row of dockbar, the drag action<BR>will change ,for example, if I drag a toolbar to the stretched toolbar, the drag can't <BR>happen, to avoid this, the stretched toolbar should auto decrease its width to meet the <BR>drag requirement. How can do?&nbsp; </P>]]>
   </description>
   <pubDate>Sun, 23 Jan 2005 01:15:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1695&amp;PID=4815&amp;title=make-toolbar-fill-a-row-of-dockbar#4815</guid>
  </item> 
 </channel>
</rss>