<?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 : Toolbar right-alignment problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Toolbar right-alignment problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 27 Apr 2026 02:16:44 +0000</pubDate>
  <lastBuildDate>Wed, 01 Jul 2009 08:12:58 +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=14653</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[Toolbar right-alignment problem : Hi, try xtpControlStretch flag...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14653&amp;PID=50537&amp;title=toolbar-rightalignment-problem#50537</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 14653<br /><strong>Posted:</strong> 01 July 2009 at 8:12am<br /><br />Hi,<DIV>try xtpControlStretch flag for toolbar and xtpFlagControlStretched for label.</DIV>]]>
   </description>
   <pubDate>Wed, 01 Jul 2009 08:12:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14653&amp;PID=50537&amp;title=toolbar-rightalignment-problem#50537</guid>
  </item> 
  <item>
   <title><![CDATA[Toolbar right-alignment problem : XTP 13.0.  I have two toolbars,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14653&amp;PID=50495&amp;title=toolbar-rightalignment-problem#50495</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14653<br /><strong>Posted:</strong> 30 June 2009 at 4:41am<br /><br />XTP 13.0.<DIV>&nbsp;</DIV><DIV>I have two toolbars, and I want the second one to be right-aligned. This is how I do it:</DIV><DIV><FONT color=#0000ff size=2><FONT color=#0000ff size=2></FONT></FONT>&nbsp;</DIV><DIV><FONT color=#0000ff size=2><FONT color=#0000ff size=2>if</FONT></FONT><FONT size=2> (</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>m_pBar1</FONT></FONT><FONT size=2>-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>GetControls</FONT></FONT><FONT size=2>()-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>GetCount</FONT></FONT><FONT size=2>() == 0)</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>m_pBar1</FONT></FONT><FONT size=2>-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>GetControls</FONT></FONT><FONT size=2>()-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>Add</FONT></FONT><FONT size=2>(</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>xtpControlLabel</FONT></FONT><FONT size=2>, 0); // Dummy!</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT color=#010001 size=2><FONT color=#010001 size=2>m_pBar1</FONT></FONT><FONT size=2>-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>GetControls</FONT></FONT><FONT size=2>()-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>GetAt</FONT></FONT><FONT size=2>(</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>m_pBar1</FONT></FONT><FONT size=2>-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>GetControls</FONT></FONT><FONT size=2>()-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>GetCount</FONT></FONT><FONT size=2>() - 1)-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>SetWidth</FONT></FONT><FONT size=2>(<strong>1886</strong>);</FONT></DIV><DIV><FONT color=#010001 size=2><FONT color=#010001 size=2>DockRightOf</FONT></FONT><FONT size=2>(</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>m_pBar2</FONT></FONT><FONT size=2>, </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>m_pBar1</FONT></FONT><FONT size=2>);</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>My screen resolution is 1920x1440. If I increase 1886 to 1887, my right-most button disappears:</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>1886:</FONT></DIV><DIV><FONT size=2><img src="http://forum.codejock.com/uploads/20090630_043816_toolbar1.bmp" border="0"></FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>1887+:</FONT></DIV><DIV><FONT size=2><img src="http://forum.codejock.com/uploads/20090630_043931_toolbar2.bmp" border="0"></FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>I have no problem calculating this value from SM_CXSCREEN, but I sense you have a sizing bug here. It should be possible to put the toolbar to the right using a more 'general' value, such as 10000.</DIV></FONT>]]>
   </description>
   <pubDate>Tue, 30 Jun 2009 04:41:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14653&amp;PID=50495&amp;title=toolbar-rightalignment-problem#50495</guid>
  </item> 
 </channel>
</rss>