<?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 : MiniToolbar Width &amp; Height</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : MiniToolbar Width &amp; Height]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 06:39:45 +0000</pubDate>
  <lastBuildDate>Sat, 25 Jul 2009 10:10:22 +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=14827</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[MiniToolbar Width &amp; Height : Thanks mgampi, maybe it could...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14827&amp;PID=51312&amp;title=minitoolbar-width-height#51312</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14827<br /><strong>Posted:</strong> 25 July 2009 at 10:10am<br /><br />Thanks mgampi, maybe it could be exposed in ActiveX by CJ, but I think we need more.<br><br>I thought it would be possible to determine the width of theMiniToolbar control using the Controll.Width property, but that alwaysseems to return 0. So what I need:<br><br><ol><li>A way to get the total Width &amp; Height of a MiniToolbar as itwill be displayed on-screen in pixels. This is so I can position it asI please, but ensure that it does not extend past arbitrary objectborders. (for example a report control row). Something likeMiniToolbar.GetWidthHeight(w,h). I need this information <b>before</b> theMiniToolbar would be shown using PopupMiniToolbar (i.e. before the Hwndis created) because I need to control the position of the MiniToolbarbefore it appears.</li><li>A way to flag that the MiniToolbar should be auto-sized by width tofit the controls (for example, Width=0, MiniToolbar extends widthautomatically to fit all of the controls).</li><li>A way to limit the maximum width that a MiniToolbar would become when auto-size (MiniToolbar.MaxWidth property). <br></li><li>Note that the values returned by MiniToolbar.GetWidthHeight(w,h) would have to be calculated to include any auto-sizing. Those values should be exactly as the control will appear on a subsequent PopupMiniToolbar call.</li></ol>Any thoughts? Thanks.<br>]]>
   </description>
   <pubDate>Sat, 25 Jul 2009 10:10:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14827&amp;PID=51312&amp;title=minitoolbar-width-height#51312</guid>
  </item> 
  <item>
   <title><![CDATA[MiniToolbar Width &amp; Height : Hi;MFC version has a SetWidth...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14827&amp;PID=51310&amp;title=minitoolbar-width-height#51310</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 14827<br /><strong>Posted:</strong> 25 July 2009 at 4:17am<br /><br />Hi;<br><br>MFC version has a SetWidth function... <br>]]>
   </description>
   <pubDate>Sat, 25 Jul 2009 04:17:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14827&amp;PID=51310&amp;title=minitoolbar-width-height#51310</guid>
  </item> 
  <item>
   <title><![CDATA[MiniToolbar Width &amp; Height : When setting the mini-toolbar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14827&amp;PID=51302&amp;title=minitoolbar-width-height#51302</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14827<br /><strong>Posted:</strong> 24 July 2009 at 11:45pm<br /><br />When setting the mini-toolbar width property its hard to know how wide to set to account for the frame (especially with different skins). Perhaps we need a SetWidth method for the MiniToolbar object that sets the width of the client area (it is easy to add width of all added controls).<br><br>Also, a Height property is required in order to accurately position the toolbar using PopupMiniToolbar Y parameter since the toolbar appears *above* the specified Y position. In my case I need to position the top edge of the minitoolbar *at* the Y position, but this is difficult without knowing the height (I have to resort to ugly magic numbers). <br>]]>
   </description>
   <pubDate>Fri, 24 Jul 2009 23:45:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14827&amp;PID=51302&amp;title=minitoolbar-width-height#51302</guid>
  </item> 
 </channel>
</rss>