<?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 : Automatic pos. of toolbar &#111;n first run</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Automatic pos. of toolbar &#111;n first run]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 18:45:47 +0000</pubDate>
  <lastBuildDate>Mon, 18 Apr 2005 04:51:39 +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=2117</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[Automatic pos. of toolbar &#111;n first run : Hello,  I think, i&amp;#039;ve found...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2117&amp;PID=6272&amp;title=automatic-pos-of-toolbar-on-first-run#6272</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 2117<br /><strong>Posted:</strong> 18 April 2005 at 4:51am<br /><br />Hello,<br><br>I think, i've found the correct function.<br>DockRightOf.<br>Is put all Toolbar in one line. Do not make a new line<br>after end of window.<br><br>But it work.<br>&nbsp;&nbsp;&nbsp; Jimmy<br>]]>
   </description>
   <pubDate>Mon, 18 Apr 2005 04:51:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2117&amp;PID=6272&amp;title=automatic-pos-of-toolbar-on-first-run#6272</guid>
  </item> 
  <item>
   <title><![CDATA[Automatic pos. of toolbar &#111;n first run : Hello,  After this i call LoadCommandBars(...). But...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2117&amp;PID=6270&amp;title=automatic-pos-of-toolbar-on-first-run#6270</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 2117<br /><strong>Posted:</strong> 18 April 2005 at 2:04am<br /><br />Hello,<br><br>After this i call LoadCommandBars(...).<br>But on first start the toolbarbar are not in one line. Every toolbar use<br>a new line.<br><br>&nbsp; Jimmy<br><br>]]>
   </description>
   <pubDate>Mon, 18 Apr 2005 02:04:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2117&amp;PID=6270&amp;title=automatic-pos-of-toolbar-on-first-run#6270</guid>
  </item> 
  <item>
   <title><![CDATA[Automatic pos. of toolbar &#111;n first run : Hello Jimmy, The CommandBars...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2117&amp;PID=6259&amp;title=automatic-pos-of-toolbar-on-first-run#6259</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1105">Agent 007</a><br /><strong>Subject:</strong> 2117<br /><strong>Posted:</strong> 15 April 2005 at 9:35am<br /><br /><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'">Hello Jimmy,</SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'">The CommandBars place the toolbars on top of each other by default.<BR>If you use <BR>int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)<BR>{<BR>&nbsp;...<BR>&nbsp;// Create ToolBar<BR>&nbsp;CXTPToolBar* pToolBar = (CXTPToolBar*)pCommandBars-&gt;Add(_T("Standard"), xtpBarTop);<BR>&nbsp;if (!pToolBar || !pToolBar-&gt;LoadToolBar(IDR_MAINFRAME))<BR>&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp; TRACE0("Failed to create toolbar\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp; return -1;<BR>&nbsp;}</SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'">&nbsp;// Create ToolBar1<BR>&nbsp;CXTPToolBar* pToolBar1 = (CXTPToolBar*)pCommandBars-&gt;Add(_T("Tool Bar 1"), xtpBarTop);<BR>&nbsp;if (!pToolBar1 || !pToolBar1-&gt;LoadToolBar(IDR_TOOLBAR1))<BR>&nbsp;{<BR>&nbsp;&nbsp;TRACE0("Failed to create toolbar\n");<BR>&nbsp;&nbsp;return -1;<BR>&nbsp;}</SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'">&nbsp;// Create ToolBar2<BR>&nbsp;CXTPToolBar* pToolBar2 = (CXTPToolBar*)pCommandBars-&gt;Add(_T("Tool Bar 2"), xtpBarTop);<BR>&nbsp;if (!pToolBar2 || !pToolBar2-&gt;LoadToolBar(IDR_TOOLBAR2))<BR>&nbsp;{<BR>&nbsp;&nbsp;TRACE0("Failed to create toolbar\n");<BR>&nbsp;&nbsp;return -1;<BR>&nbsp;}</SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'">&nbsp;// Create ToolBar3<BR>&nbsp;CXTPToolBar* pToolBar3 = (CXTPToolBar*)pCommandBars-&gt;Add(_T("Tool Bar 3"), xtpBarTop);<BR>&nbsp;if (!pToolBar3 || !pToolBar3-&gt;LoadToolBar(IDR_TOOLBAR3))<BR>&nbsp;{<BR>&nbsp;&nbsp;TRACE0("Failed to create toolbar\n");<BR>&nbsp;&nbsp;return -1;<BR>&nbsp;}<BR>&nbsp;&nbsp; ...<BR>}</SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'">Then the MainFrame toolbar is placed on top and the toolbar1, toolbar2, and toolbar 3 <BR>are each placed on their own line like:</SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Courier New'">MainFrame<BR>ToolBar1<BR>ToolBar2<BR>ToolBar3<BR></SPAN></P>]]>
   </description>
   <pubDate>Fri, 15 Apr 2005 09:35:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2117&amp;PID=6259&amp;title=automatic-pos-of-toolbar-on-first-run#6259</guid>
  </item> 
  <item>
   <title><![CDATA[Automatic pos. of toolbar &#111;n first run : Hello,  how can i set the position...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2117&amp;PID=6258&amp;title=automatic-pos-of-toolbar-on-first-run#6258</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 2117<br /><strong>Posted:</strong> 15 April 2005 at 8:10am<br /><br />Hello,<br><br>how can i set the position of the toolbar on the first run.<br>Default:<br>All toolbars are in down order.<br>Toolbar1<br>Toolbar2<br>Toolbar3<br>Toolbar4<br>...<br><br>On first run set it to<br>Toolbar1 Toolbar2 Toolbar3&nbsp; | End of windows<br>Toolbar4<br><br>&nbsp; Jimmy<br><br>]]>
   </description>
   <pubDate>Fri, 15 Apr 2005 08:10:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2117&amp;PID=6258&amp;title=automatic-pos-of-toolbar-on-first-run#6258</guid>
  </item> 
 </channel>
</rss>