<?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 : How to make some icon of toolbar grayed</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : How to make some icon of toolbar grayed]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 06:31:14 +0000</pubDate>
  <lastBuildDate>Mon, 04 Aug 2008 21:43:54 +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=11561</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[How to make some icon of toolbar grayed : thanks. I&amp;#039;m only a new guy...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11561&amp;PID=39428&amp;title=how-to-make-some-icon-of-toolbar-grayed#39428</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4275">yanlv</a><br /><strong>Subject:</strong> 11561<br /><strong>Posted:</strong> 04 August 2008 at 9:43pm<br /><br />thanks. I'm only a new guy to GUI.]]>
   </description>
   <pubDate>Mon, 04 Aug 2008 21:43:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11561&amp;PID=39428&amp;title=how-to-make-some-icon-of-toolbar-grayed#39428</guid>
  </item> 
  <item>
   <title><![CDATA[How to make some icon of toolbar grayed : All above lines can be replaced...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11561&amp;PID=39355&amp;title=how-to-make-some-icon-of-toolbar-grayed#39355</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11561<br /><strong>Posted:</strong> 03 August 2008 at 4:14am<br /><br />All above lines can be replaced to<DIV>&nbsp;</DIV><DIV>pCmdUI-&gt;Enable(flag);</DIV><DIV>&nbsp;</DIV><DIV>:)</DIV>]]>
   </description>
   <pubDate>Sun, 03 Aug 2008 04:14:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11561&amp;PID=39355&amp;title=how-to-make-some-icon-of-toolbar-grayed#39355</guid>
  </item> 
  <item>
   <title><![CDATA[How to make some icon of toolbar grayed : *****************To oleg: I test...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11561&amp;PID=39354&amp;title=how-to-make-some-icon-of-toolbar-grayed#39354</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4275">yanlv</a><br /><strong>Subject:</strong> 11561<br /><strong>Posted:</strong> 03 August 2008 at 2:58am<br /><br />*****************<br>To oleg: <br>I test your idea and it works.<br>In details:<br>add the code in updated handler<br>&nbsp;&nbsp;&nbsp; CMainFrame* mainwnd=(CMainFrame *)AfxGetMainWnd();<br>&nbsp;&nbsp;&nbsp; CXTPControlAction* pMenuItem = mainwnd-&gt;GetpAction(pCmdUI-&gt;m_nID);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if(flag != 0)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pMenuItem-&gt;SetEnabled(TRUE);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  } <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pMenuItem-&gt;SetEnabled(FALSE);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br><br>******<br>to <a href="member_profile.asp?PF=4159&amp;FID=112" target="_blank">barobax</a>: I didn't test your idea. Maybe later when I'm free.]]>
   </description>
   <pubDate>Sun, 03 Aug 2008 02:58:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11561&amp;PID=39354&amp;title=how-to-make-some-icon-of-toolbar-grayed#39354</guid>
  </item> 
  <item>
   <title><![CDATA[How to make some icon of toolbar grayed : sorry, I didn&amp;#039;t add updated...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11561&amp;PID=39219&amp;title=how-to-make-some-icon-of-toolbar-grayed#39219</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4275">yanlv</a><br /><strong>Subject:</strong> 11561<br /><strong>Posted:</strong> 31 July 2008 at 2:55am<br /><br />sorry, I didn't add updated handlers, but I'll test it. Could you answer me another problem about cutomize which is in another topic? Thanks.<br>]]>
   </description>
   <pubDate>Thu, 31 Jul 2008 02:55:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11561&amp;PID=39219&amp;title=how-to-make-some-icon-of-toolbar-grayed#39219</guid>
  </item> 
  <item>
   <title><![CDATA[How to make some icon of toolbar grayed : Hi, Did you add update handlers?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11561&amp;PID=39206&amp;title=how-to-make-some-icon-of-toolbar-grayed#39206</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11561<br /><strong>Posted:</strong> 31 July 2008 at 1:46am<br /><br /><P>Hi,</P><DIV>Did you add update handlers? See how it works with our sample.</DIV>]]>
   </description>
   <pubDate>Thu, 31 Jul 2008 01:46:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11561&amp;PID=39206&amp;title=how-to-make-some-icon-of-toolbar-grayed#39206</guid>
  </item> 
  <item>
   <title><![CDATA[How to make some icon of toolbar grayed : Hi,what about MiniToolbar ?! My...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11561&amp;PID=39192&amp;title=how-to-make-some-icon-of-toolbar-grayed#39192</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4159">barobax</a><br /><strong>Subject:</strong> 11561<br /><strong>Posted:</strong> 30 July 2008 at 3:19pm<br /><br />Hi,<br>what about MiniToolbar ?! My buttons are disabled.<br>]]>
   </description>
   <pubDate>Wed, 30 Jul 2008 15:19:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11561&amp;PID=39192&amp;title=how-to-make-some-icon-of-toolbar-grayed#39192</guid>
  </item> 
  <item>
   <title><![CDATA[How to make some icon of toolbar grayed : Hi, you need add Update handler...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11561&amp;PID=38827&amp;title=how-to-make-some-icon-of-toolbar-grayed#38827</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11561<br /><strong>Posted:</strong> 24 July 2008 at 7:37am<br /><br />Hi,<DIV>you need add Update handler for Id and enable/disable your command.</DIV>]]>
   </description>
   <pubDate>Thu, 24 Jul 2008 07:37:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11561&amp;PID=38827&amp;title=how-to-make-some-icon-of-toolbar-grayed#38827</guid>
  </item> 
  <item>
   <title><![CDATA[How to make some icon of toolbar grayed : There&amp;#039;s an icon on my toolbar....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11561&amp;PID=38819&amp;title=how-to-make-some-icon-of-toolbar-grayed#38819</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4275">yanlv</a><br /><strong>Subject:</strong> 11561<br /><strong>Posted:</strong> 24 July 2008 at 5:38am<br /><br />There's an icon on my toolbar. I hope it is grayed from the beginning, but will become bright when I send a command. How to make this icon grayed in the function oncreate() or oncreatecontrol().]]>
   </description>
   <pubDate>Thu, 24 Jul 2008 05:38:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11561&amp;PID=38819&amp;title=how-to-make-some-icon-of-toolbar-grayed#38819</guid>
  </item> 
 </channel>
</rss>