<?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 : xtpFlagManualUpdate not working for ribbon?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : xtpFlagManualUpdate not working for ribbon?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 11 Apr 2026 12:18:48 +0000</pubDate>
  <lastBuildDate>Mon, 23 Mar 2009 02:02:31 +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=13738</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[xtpFlagManualUpdate not working for ribbon? : Hi, If you have handler it have...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13738&amp;PID=46984&amp;title=xtpflagmanualupdate-not-working-for-ribbon#46984</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13738<br /><strong>Posted:</strong> 23 March 2009 at 2:02am<br /><br />Hi,<DIV>If you have handler it have to be executed anyway. Try to set breakpoint in CXTPControl::NotifySite&nbsp; in pSite-&gt;OnCmdMsg line and check if your window receives it.</DIV><DIV>&nbsp;</DIV><DIV>Myabe just MyWindow&nbsp; != ActivePane&nbsp; ? :)</DIV>]]>
   </description>
   <pubDate>Mon, 23 Mar 2009 02:02:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13738&amp;PID=46984&amp;title=xtpflagmanualupdate-not-working-for-ribbon#46984</guid>
  </item> 
  <item>
   <title><![CDATA[xtpFlagManualUpdate not working for ribbon? : BOOL CMainFrame::OnCmdMsg(...) { ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13738&amp;PID=46947&amp;title=xtpflagmanualupdate-not-working-for-ribbon#46947</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 13738<br /><strong>Posted:</strong> 20 March 2009 at 10:03am<br /><br />BOOL CMainFrame::OnCmdMsg(...)<DIV>{</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; if (ActivePane == MyWindow &amp;&amp; MyWindow.OnCmdMsg(...)) // The update-handler lives here!</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return TRUE;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; return CXTPFrameWnd::OnCmdMsg(...); //&nbsp; The command-handler lives in this class!</DIV><DIV>}</DIV><DIV>&nbsp;</DIV><DIV>Reading through the docs it seems MFC auto-enables the control if an update-handler is not found (which will be the case if I'm deactivating the pane).</DIV><DIV>&nbsp;</DIV><DIV>Is there a solution to this problem?</DIV>]]>
   </description>
   <pubDate>Fri, 20 Mar 2009 10:03:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13738&amp;PID=46947&amp;title=xtpflagmanualupdate-not-working-for-ribbon#46947</guid>
  </item> 
  <item>
   <title><![CDATA[xtpFlagManualUpdate not working for ribbon? : Hi,  So what you do to route...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13738&amp;PID=46928&amp;title=xtpflagmanualupdate-not-working-for-ribbon#46928</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 13738<br /><strong>Posted:</strong> 20 March 2009 at 6:09am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>So what you do to route cmd messages to this CMyWindow?</DIV><DIV>&nbsp;</DIV><DIV>Don't set <FONT color=#010001 size=2>xtpFlagManualUpdate&nbsp;flag - it stop all update notifications for control.</FONT></DIV>]]>
   </description>
   <pubDate>Fri, 20 Mar 2009 06:09:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13738&amp;PID=46928&amp;title=xtpflagmanualupdate-not-working-for-ribbon#46928</guid>
  </item> 
  <item>
   <title><![CDATA[xtpFlagManualUpdate not working for ribbon? : XTP 13.0.0.  I have a ribbon...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13738&amp;PID=46904&amp;title=xtpflagmanualupdate-not-working-for-ribbon#46904</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 13738<br /><strong>Posted:</strong> 19 March 2009 at 12:38pm<br /><br />XTP 13.0.0.<DIV>&nbsp;</DIV><DIV>I have a ribbon control which I want to handle in CMainFrame:</DIV><DIV>void CMainFrame::OnMyControl() { ... }</DIV><DIV>&nbsp;</DIV><DIV>However, I want another window to be responsible for the state of this control:</DIV><DIV>void CMyWindow::OnUpdateMyControl(CCmdUI *pCmdUI) { ... pCmdUI-&gt;Enable(condition); }</DIV><DIV>&nbsp;</DIV><DIV>The problem is that "Enable(FALSE)" inside my update-handler has no effect. The control remains enabled due to the message-map entry in CMainFrame. I tried the <FONT color=#010001 size=2>xtpFlagManualUpdate flag, but no success.</FONT></DIV><DIV><FONT color=#010001 size=2></FONT>&nbsp;</DIV><DIV><FONT color=#010001 size=2>What am I doing wrong?</FONT></DIV>]]>
   </description>
   <pubDate>Thu, 19 Mar 2009 12:38:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13738&amp;PID=46904&amp;title=xtpflagmanualupdate-not-working-for-ribbon#46904</guid>
  </item> 
 </channel>
</rss>