<?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 : Redraw pane-toolbar?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Redraw pane-toolbar?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 01:56:29 +0000</pubDate>
  <lastBuildDate>Mon, 07 Sep 2009 08:17:03 +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=15112</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[Redraw pane-toolbar? : Yes! Works :)  Thanks! ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15112&amp;PID=52841&amp;title=redraw-panetoolbar#52841</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 15112<br /><strong>Posted:</strong> 07 September 2009 at 8:17am<br /><br />Yes! Works :)<DIV>&nbsp;</DIV><DIV>Thanks!</DIV>]]>
   </description>
   <pubDate>Mon, 07 Sep 2009 08:17:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15112&amp;PID=52841&amp;title=redraw-panetoolbar#52841</guid>
  </item> 
  <item>
   <title><![CDATA[Redraw pane-toolbar? : Hi,  You have single toolbar,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15112&amp;PID=52839&amp;title=redraw-panetoolbar#52839</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 15112<br /><strong>Posted:</strong> 07 September 2009 at 6:42am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>You have single toolbar, so it doesn't have CommandBars.</DIV><DIV>&nbsp;</DIV><DIV>Think, bet way is to move code you have in OnSize handler to separate funciton and call it when you need recalculate layout.</DIV>]]>
   </description>
   <pubDate>Mon, 07 Sep 2009 06:42:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15112&amp;PID=52839&amp;title=redraw-panetoolbar#52839</guid>
  </item> 
  <item>
   <title><![CDATA[Redraw pane-toolbar? :  Sure, this would be nice: m...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15112&amp;PID=52830&amp;title=redraw-panetoolbar#52830</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 15112<br /><strong>Posted:</strong> 07 September 2009 at 3:16am<br /><br /><FONT color=#010001 size=2><FONT color=#010001 size=2><DIV>Sure, this would be nice:</DIV><DIV>m_wndToolBar</FONT></FONT><FONT size=2>.</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>GetCommandBars</FONT></FONT><FONT size=2>()-&gt;RecalcFrameLayout()</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>but... GetCommandBars() returns NULL...</DIV></FONT>]]>
   </description>
   <pubDate>Mon, 07 Sep 2009 03:16:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15112&amp;PID=52830&amp;title=redraw-panetoolbar#52830</guid>
  </item> 
  <item>
   <title><![CDATA[Redraw pane-toolbar? : Hi, Try to call RecalcLayout...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15112&amp;PID=52775&amp;title=redraw-panetoolbar#52775</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 15112<br /><strong>Posted:</strong> 04 September 2009 at 11:11am<br /><br /><P>Hi,</P><DIV>Try to call RecalcLayout for it.&nbsp; Toolbar width can changed so you need handle it too.</DIV>]]>
   </description>
   <pubDate>Fri, 04 Sep 2009 11:11:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15112&amp;PID=52775&amp;title=redraw-panetoolbar#52775</guid>
  </item> 
  <item>
   <title><![CDATA[Redraw pane-toolbar? : I&amp;#039;ve probably screwed up...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15112&amp;PID=52767&amp;title=redraw-panetoolbar#52767</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 15112<br /><strong>Posted:</strong> 04 September 2009 at 9:20am<br /><br /><P>I've probably screwed up my command-routing. Anyway, there should be a function that explicitly redraws the toolbar.</P>]]>
   </description>
   <pubDate>Fri, 04 Sep 2009 09:20:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15112&amp;PID=52767&amp;title=redraw-panetoolbar#52767</guid>
  </item> 
  <item>
   <title><![CDATA[Redraw pane-toolbar? : Hi;I don&amp;#039;t know your structure,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15112&amp;PID=52766&amp;title=redraw-panetoolbar#52766</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 15112<br /><strong>Posted:</strong> 04 September 2009 at 6:54am<br /><br />Hi;<br><br>I don't know your structure, but in my case it works as expected.<br><br>Pane contains<br>&nbsp;&nbsp; CWnd derived object, that contains<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; command bar object<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; toolbar<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; other CWnd derived objects<br><br>The message map of CWnd derived pane child handles ON_UPDATE_COMMAND_UI messages without further programming.<br><br>HTH<br>]]>
   </description>
   <pubDate>Fri, 04 Sep 2009 06:54:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15112&amp;PID=52766&amp;title=redraw-panetoolbar#52766</guid>
  </item> 
  <item>
   <title><![CDATA[Redraw pane-toolbar? : Just tried that. The update-handler...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15112&amp;PID=52765&amp;title=redraw-panetoolbar#52765</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 15112<br /><strong>Posted:</strong> 04 September 2009 at 6:43am<br /><br /><P>Just tried that. The update-handler is never called (perhaps because the toolbar is inside a pane?).</P>]]>
   </description>
   <pubDate>Fri, 04 Sep 2009 06:43:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15112&amp;PID=52765&amp;title=redraw-panetoolbar#52765</guid>
  </item> 
  <item>
   <title><![CDATA[Redraw pane-toolbar? :  Why aren&amp;#039;t you using ON_UPDATE_COMMAND_UI...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15112&amp;PID=52731&amp;title=redraw-panetoolbar#52731</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 15112<br /><strong>Posted:</strong> 03 September 2009 at 11:51am<br /><br />Why aren't you using ON_UPDATE_COMMAND_UI handle for this?]]>
   </description>
   <pubDate>Thu, 03 Sep 2009 11:51:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15112&amp;PID=52731&amp;title=redraw-panetoolbar#52731</guid>
  </item> 
  <item>
   <title><![CDATA[Redraw pane-toolbar? :  In my pane:  m_wndToolBar....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15112&amp;PID=52730&amp;title=redraw-panetoolbar#52730</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 15112<br /><strong>Posted:</strong> 03 September 2009 at 10:53am<br /><br /><FONT color=#010001 size=2><FONT color=#010001 size=2><DIV>In my pane:</DIV><DIV>&nbsp;</DIV><DIV>m_wndToolBar.GetControls()-&gt;GetAt(0)</FONT></FONT><FONT size=2>-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>SetCaption</FONT></FONT><FONT size=2>(</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>"New title"</FONT></FONT><FONT size=2>);</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>How do I redraw the toolbar? Usually, I would call GetCommandBars()-&gt;RedrawCommandBars(), but my pane has no commandbars...</DIV></FONT>]]>
   </description>
   <pubDate>Thu, 03 Sep 2009 10:53:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15112&amp;PID=52730&amp;title=redraw-panetoolbar#52730</guid>
  </item> 
 </channel>
</rss>