<?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 : &#079;N_UPDATE_COMMAND_UI Prob using SetCheck</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : &#079;N_UPDATE_COMMAND_UI Prob using SetCheck]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 23:45:35 +0000</pubDate>
  <lastBuildDate>Thu, 01 Dec 2005 05:20:07 +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=202</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[&#079;N_UPDATE_COMMAND_UI Prob using SetCheck : You can manually edit all Resource.h...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=202&amp;PID=9932&amp;title=on-update-command-ui-prob-using-setcheck#9932</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 202<br /><strong>Posted:</strong> 01 December 2005 at 5:20am<br /><br /><P>You can manually edit all Resource.h from Source directory </P><P>f.e</P><P>Source\CommandBars\Resource.h </P>]]>
   </description>
   <pubDate>Thu, 01 Dec 2005 05:20:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=202&amp;PID=9932&amp;title=on-update-command-ui-prob-using-setcheck#9932</guid>
  </item> 
  <item>
   <title><![CDATA[&#079;N_UPDATE_COMMAND_UI Prob using SetCheck : we are using resources from 101...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=202&amp;PID=9920&amp;title=on-update-command-ui-prob-using-setcheck#9920</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1644">bmaurice</a><br /><strong>Subject:</strong> 202<br /><strong>Posted:</strong> 30 November 2005 at 5:38pm<br /><br /><P>we are using resources from 101&nbsp; to 9600 inclusive..</P><P>Could you add an offset base to your resources so we can shift them away from our range?</P><P>P.S.: our resource range can not be shifted due to technical specs.</P>]]>
   </description>
   <pubDate>Wed, 30 Nov 2005 17:38:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=202&amp;PID=9920&amp;title=on-update-command-ui-prob-using-setcheck#9920</guid>
  </item> 
  <item>
   <title><![CDATA[&#079;N_UPDATE_COMMAND_UI Prob using SetCheck : Betterchange it to 8600 f.e. and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=202&amp;PID=9900&amp;title=on-update-command-ui-prob-using-setcheck#9900</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 202<br /><strong>Posted:</strong> 30 November 2005 at 1:35am<br /><br /><P>Better&nbsp;change it to 8600 f.e. and rebuild your application... </P><P>Now we have now resource with id = 9600, but may be it will added in future.</P><P>&nbsp;</P><P>We use id range from 9000 to 10000</P>]]>
   </description>
   <pubDate>Wed, 30 Nov 2005 01:35:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=202&amp;PID=9900&amp;title=on-update-command-ui-prob-using-setcheck#9900</guid>
  </item> 
  <item>
   <title><![CDATA[&#079;N_UPDATE_COMMAND_UI Prob using SetCheck :   oleg wrote: Please use SetCheck...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=202&amp;PID=9895&amp;title=on-update-command-ui-prob-using-setcheck#9895</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1644">bmaurice</a><br /><strong>Subject:</strong> 202<br /><strong>Posted:</strong> 29 November 2005 at 8:11pm<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 /><P>Please use SetCheck instead SetPressed. The last is internal method.</P><P>Recommended to use identifiers from 130 to 9000 range to avoid conflicts with MFC values and XTreme resources.</P><P></td></tr></table> </P><P>We have 9600 resource how are we supposed to avoid conflicts?</P>]]>
   </description>
   <pubDate>Tue, 29 Nov 2005 20:11:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=202&amp;PID=9895&amp;title=on-update-command-ui-prob-using-setcheck#9895</guid>
  </item> 
  <item>
   <title><![CDATA[&#079;N_UPDATE_COMMAND_UI Prob using SetCheck : Please use SetCheck instead SetPressed....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=202&amp;PID=478&amp;title=on-update-command-ui-prob-using-setcheck#478</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 202<br /><strong>Posted:</strong> 03 November 2003 at 11:50pm<br /><br /><P>Please use SetCheck instead SetPressed. The last is internal method.</P><P>Recommended to use identifiers from 130 to 9000 range to avoid conflicts with MFC values and XTreme resources.</P>]]>
   </description>
   <pubDate>Mon, 03 Nov 2003 23:50:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=202&amp;PID=478&amp;title=on-update-command-ui-prob-using-setcheck#478</guid>
  </item> 
  <item>
   <title><![CDATA[&#079;N_UPDATE_COMMAND_UI Prob using SetCheck : Hi Oleg,  ok, now I tried different...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=202&amp;PID=403&amp;title=on-update-command-ui-prob-using-setcheck#403</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=216">stuebing</a><br /><strong>Subject:</strong> 202<br /><strong>Posted:</strong> 30 October 2003 at 10:03am<br /><br />Hi Oleg,<br /><br />ok, now I tried different things using two different buttons: an ID_EDIT_UNDO (MFC predefined ID 0xe12b) button and an ID_OWN (32771) button.<br /><br />The ID_EDIT_UNDO button has its handler in my CDocument derived class and is working as expected, e.g I used pCmd-&gt;SetCheck and pCmd-&gt;Enable.<br /><br />For my ID_OWN button I once tried a handler in my CDocument derived class and once in my CView derived class (only one active at a time). Inside the handler I tried once with SetCheck, once with SetPressed (a'la FAQ chapter 5).<br /><br />This button is working as expected if it is contained in my first toolbar and even the second toolbar. If it was contained my third toolbar (I'm using three toolbars) it only got enabled/disabled, but no longer checked. The ID_EDIT_UNDO button was working in all three toolbars.<br /><br />You noticed the change from present to past? I'm not quite sure what happened on testing for this reply, but somehow now it is working. The handler is currently in my CView derived class. Hopefully it keeps on working.<br /><br />Ciao,<br />&nbsp;&nbsp;&nbsp;&nbsp;Andreas]]>
   </description>
   <pubDate>Thu, 30 Oct 2003 10:03:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=202&amp;PID=403&amp;title=on-update-command-ui-prob-using-setcheck#403</guid>
  </item> 
  <item>
   <title><![CDATA[&#079;N_UPDATE_COMMAND_UI Prob using SetCheck : Hi, Andreas  Don&amp;#039;t understand...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=202&amp;PID=401&amp;title=on-update-command-ui-prob-using-setcheck#401</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 202<br /><strong>Posted:</strong> 30 October 2003 at 8:58am<br /><br /><P>Hi, Andreas </P><P>Don't understand how do you use handler. Give me please piece of code.</P>]]>
   </description>
   <pubDate>Thu, 30 Oct 2003 08:58:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=202&amp;PID=401&amp;title=on-update-command-ui-prob-using-setcheck#401</guid>
  </item> 
  <item>
   <title><![CDATA[&#079;N_UPDATE_COMMAND_UI Prob using SetCheck : Hi,  currently I&amp;#039;m trying...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=202&amp;PID=398&amp;title=on-update-command-ui-prob-using-setcheck#398</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=216">stuebing</a><br /><strong>Subject:</strong> 202<br /><strong>Posted:</strong> 30 October 2003 at 8:02am<br /><br />Hi,<br /><br />currently I'm trying to get a pressed button in my toolbars using the "normal" ON_UPDATE_COMMAND_UI mechanism. However, it seems as all handlers are called for checking only, i.e. with a CTextCmdUI object. For this class a SetCheck is (silently) ignored....<br /><br />Using the XTP FAQ Chapter 5 does not help either, because pCmdUI-&gt;m_pOther == 0 <img border="0" src="http://forum.codejock.com/smileys/smiley6.gif" border="0"><br /><br />Any help where to look at?<br /><br />Ciao,<br />&nbsp;&nbsp;&nbsp;&nbsp;Andreas]]>
   </description>
   <pubDate>Thu, 30 Oct 2003 08:02:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=202&amp;PID=398&amp;title=on-update-command-ui-prob-using-setcheck#398</guid>
  </item> 
 </channel>
</rss>