<?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 : RibbonBar button not updating</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : RibbonBar button not updating]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 14 Apr 2026 01:08:33 +0000</pubDate>
  <lastBuildDate>Mon, 23 Jun 2008 00:37:35 +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=11138</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[RibbonBar button not updating : Hi   Yes i am using 3 Timers...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11138&amp;PID=37191&amp;title=ribbonbar-button-not-updating#37191</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2137">devil20</a><br /><strong>Subject:</strong> 11138<br /><strong>Posted:</strong> 23 June 2008 at 12:37am<br /><br />Hi<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Yes i am using 3 Timers and interval is too short of timers. If i switch off timer then it working perfect. Currently i have done solution using make manually update in one of timer using </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>GetCommandBars()-&gt;UpdateCommandBars(); </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>that's working perfect for me</DIV>]]>
   </description>
   <pubDate>Mon, 23 Jun 2008 00:37:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11138&amp;PID=37191&amp;title=ribbonbar-button-not-updating#37191</guid>
  </item> 
  <item>
   <title><![CDATA[RibbonBar button not updating : Make sure the manual update flag...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11138&amp;PID=37163&amp;title=ribbonbar-button-not-updating#37163</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 11138<br /><strong>Posted:</strong> 21 June 2008 at 3:05pm<br /><br />Make sure the manual update flag is not set. If it is, CJ will not call OnCmdMsg and your message map entry will not be called. If the ribbon site is the mainframe, your mainframe message map should have the entry.<DIV>&nbsp;</DIV><DIV><FONT size=2><P>pControl</FONT><FONT color=#0000ff size=2>-&gt;</FONT><FONT size=2>SetFlags</FONT><FONT color=#0000ff size=2>(</FONT><FONT size=2> pControl</FONT><FONT color=#0000ff size=2>-&gt;</FONT><FONT size=2>GetFlags</FONT><FONT color=#0000ff size=2>()</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>&amp;</FONT><FONT size=2> </FONT><FONT color=#0000ff size=2>~</FONT><FONT size=2>xtpFlagManualUpdate </FONT><FONT color=#0000ff size=2>);</P></FONT></DIV>]]>
   </description>
   <pubDate>Sat, 21 Jun 2008 15:05:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11138&amp;PID=37163&amp;title=ribbonbar-button-not-updating#37163</guid>
  </item> 
  <item>
   <title><![CDATA[RibbonBar button not updating : Hi, Think you send too mach messages...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11138&amp;PID=37155&amp;title=ribbonbar-button-not-updating#37155</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11138<br /><strong>Posted:</strong> 21 June 2008 at 9:15am<br /><br />Hi,<DIV>Think you send too mach messages - maybe its WM_PAINT or WM_TIMER and CWinApp don't enter to Idle state to send WM_IDLEUPDATECMDUI.&nbsp; </DIV><DIV>Try to monitor your messages with Spy.</DIV>]]>
   </description>
   <pubDate>Sat, 21 Jun 2008 09:15:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11138&amp;PID=37155&amp;title=ribbonbar-button-not-updating#37155</guid>
  </item> 
  <item>
   <title><![CDATA[RibbonBar button not updating : Hi  I have created Ribbon bar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11138&amp;PID=37149&amp;title=ribbonbar-button-not-updating#37149</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2137">devil20</a><br /><strong>Subject:</strong> 11138<br /><strong>Posted:</strong> 21 June 2008 at 3:49am<br /><br />Hi<DIV>&nbsp;</DIV><DIV>I have created Ribbon bar and created some buttons using CXTPControlButton class. I need to do some update on button in software using ON_UPDATE_COMMAND_UI handler. </DIV><DIV>&nbsp;</DIV><DIV>But buttons are not updating in case of i already add code for Enable state. If i move mouse on button or minize application then it is updating this buttons. </DIV><DIV>&nbsp;</DIV><DIV>I had also checked CPU usage but my application is 3D so it is using 20 to 30 percent CPU in taskManager. </DIV><DIV>&nbsp;</DIV><DIV>So what should be problem ? Anyone can give me suggestion ?</DIV>]]>
   </description>
   <pubDate>Sat, 21 Jun 2008 03:49:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11138&amp;PID=37149&amp;title=ribbonbar-button-not-updating#37149</guid>
  </item> 
 </channel>
</rss>