<?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 : Why is m_bCustomizeAvail protected?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Why is m_bCustomizeAvail protected?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 21:44:05 +0000</pubDate>
  <lastBuildDate>Tue, 30 Aug 2005 03:58:08 +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=2811</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[Why is m_bCustomizeAvail protected? : Thanks. EnableCustomization method...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2811&amp;PID=8407&amp;title=why-is-m-bcustomizeavail-protected#8407</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2811<br /><strong>Posted:</strong> 30 August 2005 at 3:58am<br /><br /><P>Thanks.</P><P>EnableCustomization method added.</P>]]>
   </description>
   <pubDate>Tue, 30 Aug 2005 03:58:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2811&amp;PID=8407&amp;title=why-is-m-bcustomizeavail-protected#8407</guid>
  </item> 
  <item>
   <title><![CDATA[Why is m_bCustomizeAvail protected? : I have the need to sometimes programmatically...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2811&amp;PID=8403&amp;title=why-is-m-bcustomizeavail-protected#8403</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 2811<br /><strong>Posted:</strong> 30 August 2005 at 12:27am<br /><br /><br>I have the need to sometimes programmatically disable the ability to customize any menus, and this is the only place I have to use the "friend class hack":<br>&nbsp;&nbsp;&nbsp; <span style="color: rgb(0, 0, 255);">class </span>CXTPCommandBarsFriend : <span style="color: rgb(0, 0, 255);">public </span>CXTPCommandBars { <span style="color: rgb(0, 0, 255);">friend class</span> CMainFrame; }; <span style="color: rgb(0, 153, 0);">//allow access to protected members</span><br>&nbsp;&nbsp;&nbsp; <span style="color: rgb(0, 0, 255);">static_cast</span>&lt;CXTPCommandBarsFriend *&gt;(pCommandBars)-&gt;m_bCustomizeAvail = FALSE;<br><br>]]>
   </description>
   <pubDate>Tue, 30 Aug 2005 00:27:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2811&amp;PID=8403&amp;title=why-is-m-bcustomizeavail-protected#8403</guid>
  </item> 
 </channel>
</rss>