<?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 : Updating toolbar button state</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Updating toolbar button state]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 13:46:51 +0000</pubDate>
  <lastBuildDate>Wed, 25 Jul 2012 11:51:20 +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=19924</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[Updating toolbar button state :  Even I am not getting call to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19924&amp;PID=68662&amp;title=updating-toolbar-button-state#68662</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7513">dearvivekkumar</a><br /><strong>Subject:</strong> 19924<br /><strong>Posted:</strong> 25 July 2012 at 11:51am<br /><br />Even I am not getting call &nbsp;to WM_KICKIDLE handler?&nbsp;<br><br>is there some thing I am missing??]]>
   </description>
   <pubDate>Wed, 25 Jul 2012 11:51:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19924&amp;PID=68662&amp;title=updating-toolbar-button-state#68662</guid>
  </item> 
  <item>
   <title><![CDATA[Updating toolbar button state : I have tried WM_KICKIDLE, still...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19924&amp;PID=68661&amp;title=updating-toolbar-button-state#68661</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7513">dearvivekkumar</a><br /><strong>Subject:</strong> 19924<br /><strong>Posted:</strong> 25 July 2012 at 11:14am<br /><br />I have tried WM_KICKIDLE, still I'm not getting call on the update handler for the toolbar.<br><br>One more thing, the toolbar is on modaless dialog in fact in docking pane. And i'm getting call to Update handler &nbsp;only when I click on the toolbar button. And after that on command event handler.]]>
   </description>
   <pubDate>Wed, 25 Jul 2012 11:14:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19924&amp;PID=68661&amp;title=updating-toolbar-button-state#68661</guid>
  </item> 
  <item>
   <title><![CDATA[Updating toolbar button state :  You can force update your toolbar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19924&amp;PID=68603&amp;title=updating-toolbar-button-state#68603</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4857">sharky</a><br /><strong>Subject:</strong> 19924<br /><strong>Posted:</strong> 14 July 2012 at 2:08pm<br /><br />You can force update your toolbar from WM_KICKIDLE message handler<br><br>for example:<br><br>ON_MESSAGE(WM_KICKIDLE, &amp;CDlg::OnKickIdle)<br><br>LRESULT CDlg::OnKickIdle(WPARAM, LPARAM)<br>{<br>&nbsp;&nbsp;&nbsp; SendMessageToDescendants(WM_IDLEUPDATECMDUI);<br><br>&nbsp;&nbsp;&nbsp; return 0;<br>}<br><br>]]>
   </description>
   <pubDate>Sat, 14 Jul 2012 14:08:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19924&amp;PID=68603&amp;title=updating-toolbar-button-state#68603</guid>
  </item> 
  <item>
   <title><![CDATA[Updating toolbar button state : Hi;Take a look at Samples\CommandBars\DialogSampleIt...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19924&amp;PID=68561&amp;title=updating-toolbar-button-state#68561</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 19924<br /><strong>Posted:</strong> 09 July 2012 at 6:52am<br /><br />Hi;<br><br>Take a look at <br><br>Samples\CommandBars\DialogSample<br><br>It shows how to get the ON_UPDATE_COMMAND_UI handlers to work.<br>]]>
   </description>
   <pubDate>Mon, 09 Jul 2012 06:52:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19924&amp;PID=68561&amp;title=updating-toolbar-button-state#68561</guid>
  </item> 
  <item>
   <title><![CDATA[Updating toolbar button state : Hi, I have a dialog in MFC application,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19924&amp;PID=68551&amp;title=updating-toolbar-button-state#68551</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7513">dearvivekkumar</a><br /><strong>Subject:</strong> 19924<br /><strong>Posted:</strong> 06 July 2012 at 4:22am<br /><br /><p>Hi,</p><p>I have a dialog in MFC application, which was having menu-bar. Now I have created a toolbar (CXTPToolBar) in that dialog using the same command which is in the menu-bar.</p><p>I use to update the menu-item's state(enable/disable) as per some check in <code>ON_UPDATE_COMMAND_UI</code>I handler. <br></p><p>My doubt is when the <code>ON_UPDATE_COMMAND_UI</code>I handler gets called by the framework for updating the toolbar buttons state. Since, I am not getting call to this function and it's only get called when i clicks on menubar to popup the menu-items.<br></p>Moreover, call to <code>ON_UPDATE_COMMAND_UI</code> is only coming when I click on the toolbar button.<br><br>What is the correct way for doing this? Is there some alternative for doing this?<p>Thanks</p>]]>
   </description>
   <pubDate>Fri, 06 Jul 2012 04:22:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19924&amp;PID=68551&amp;title=updating-toolbar-button-state#68551</guid>
  </item> 
 </channel>
</rss>