<?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 : Resizing custom controls</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Resizing custom controls]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 08:43:11 +0000</pubDate>
  <lastBuildDate>Mon, 28 Jul 2008 03:09:40 +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=11598</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[Resizing custom controls :   oleg wrote:Hi,   You need...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11598&amp;PID=38974&amp;title=resizing-custom-controls#38974</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 11598<br /><strong>Posted:</strong> 28 July 2008 at 3:09am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br />Hi, <DIV>&nbsp;</DIV><DIV>You need find custom control that was created (pCommandBars-&gt;FindControl) and change its size</DIV><DIV>&nbsp;</DIV><DIV>pControl-&gt;SetWidth(...);</DIV></td></tr></table> <DIV>&nbsp;</DIV><DIV>OK - I thought I tried that - will have another go, sorry to waste your time.</DIV>]]>
   </description>
   <pubDate>Mon, 28 Jul 2008 03:09:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11598&amp;PID=38974&amp;title=resizing-custom-controls#38974</guid>
  </item> 
  <item>
   <title><![CDATA[Resizing custom controls : Hi,  You need find custom control...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11598&amp;PID=38967&amp;title=resizing-custom-controls#38967</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11598<br /><strong>Posted:</strong> 28 July 2008 at 2:51am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>You need find custom control that was created (pCommandBars-&gt;FindControl) and change its size</DIV><DIV>&nbsp;</DIV><DIV>pControl-&gt;SetWidth(...);</DIV>]]>
   </description>
   <pubDate>Mon, 28 Jul 2008 02:51:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11598&amp;PID=38967&amp;title=resizing-custom-controls#38967</guid>
  </item> 
  <item>
   <title><![CDATA[Resizing custom controls : Hi,  Using ON_XTP_CREATECONTROL...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11598&amp;PID=38935&amp;title=resizing-custom-controls#38935</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 11598<br /><strong>Posted:</strong> 27 July 2008 at 4:47am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Using ON_XTP_CREATECONTROL I create my own custom control.</DIV><DIV>&nbsp;</DIV><DIV>I want to resize this later on - how do I resize my control and get the new size displayed in the toolbar?</DIV><DIV>&nbsp;</DIV><DIV>m_rotatorAzimValue is derrived from CWnd.</DIV><DIV>&nbsp;</DIV><DIV><strong><FONT size=2><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;//<BR>&nbsp;&nbsp;//&nbsp;Create the static control.<BR>&nbsp;&nbsp;//<BR></FONT><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;CRect&nbsp;rect(0,0,100,16);</FONT></FONT></strong></DIV><DIV><FONT face="Courier New, Courier, mono" size=2><strong>&nbsp;&nbsp;if (!m_rotatorAzimValue.Create(NULL,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NULL,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_CLIPCHILDREN,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rect,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ID_AZIM_VALUE,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NULL))<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;return FALSE;<BR>&nbsp;&nbsp;}</strong></FONT></DIV><DIV><FONT face="Courier New, Courier, mono" size=2><strong>&nbsp;&nbsp;//<BR>&nbsp;&nbsp;//&nbsp;Create a CXTPControlCustom*.<BR>&nbsp;&nbsp;//<BR>&nbsp;&nbsp;CXTPControlCustom* pControlAzimValue = CXTPControlCustom::CreateControlCustom(&amp;m_rotatorAzimValue);</strong></FONT></DIV><DIV><strong><FONT size=2><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;//<BR>&nbsp;&nbsp;//&nbsp;Set the margins of the control.<BR>&nbsp;&nbsp;//<BR>&nbsp;&nbsp;pControlAzimValue-&gt;SetBorders(3, 0, 3, 0);<BR>&nbsp;&nbsp;pControlAzimValue-&gt;SetVerticalPositionOption(xtpVerticalHide);<BR>&nbsp;&nbsp;pControlAzimValue-&gt;SetFlags(xtpFlagManualUpdate);<BR></FONT><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;lpCreateControl-&gt;pControl = pControlAzimValue;</FONT></FONT></strong></DIV>]]>
   </description>
   <pubDate>Sun, 27 Jul 2008 04:47:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11598&amp;PID=38935&amp;title=resizing-custom-controls#38935</guid>
  </item> 
 </channel>
</rss>