<?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 : Disable customisati&#111;n problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Disable customisati&#111;n problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 20:10:47 +0000</pubDate>
  <lastBuildDate>Wed, 14 Sep 2005 05:35:21 +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=2876</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[Disable customisati&#111;n problem : Thanks Oleg, that fixed it.  I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2876&amp;PID=8613&amp;title=disable-customisation-problem#8613</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=491">brianh</a><br /><strong>Subject:</strong> 2876<br /><strong>Posted:</strong> 14 September 2005 at 5:35am<br /><br />Thanks Oleg, that fixed it. <IMG src="http://forum.codejock.com/smileys/smiley1.gif" border="0">&nbsp; I have also derived my own toolbar class and overridden the Reset() method as you suggested, I now&nbsp;restore the hidden state&nbsp;for any non-customisable hidden controls after calling the base class version and that seems to work fine. Thanks again.&nbsp; <IMG src="http://forum.codejock.com/smileys/smiley20.gif" border="0">]]>
   </description>
   <pubDate>Wed, 14 Sep 2005 05:35:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2876&amp;PID=8613&amp;title=disable-customisation-problem#8613</guid>
  </item> 
  <item>
   <title><![CDATA[Disable customisati&#111;n problem : 1. Thank you good suggestion!...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2876&amp;PID=8602&amp;title=disable-customisation-problem#8602</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2876<br /><strong>Posted:</strong> 13 September 2005 at 2:40pm<br /><br /><P>1. Thank you good suggestion! Added</P><P>You can patch sources till next release.</P><P>in CXTPToolBar::BuildCustomizePopup</P><P>add</P><P>&nbsp;&nbsp;if (pControl &amp;&amp; ((pControl-&gt;GetFlags() &amp; xtpFlagNoMovable) != 0))<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;continue;<BR>&nbsp;&nbsp;}</P><P>&nbsp;</P><P>2. You can override virtual void CXTPToolaBar::Reset(); and hide controls again.</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Tue, 13 Sep 2005 14:40:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2876&amp;PID=8602&amp;title=disable-customisation-problem#8602</guid>
  </item> 
  <item>
   <title><![CDATA[Disable customisati&#111;n problem : Hi, if you set the xtpFlagNoMovable...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2876&amp;PID=8580&amp;title=disable-customisation-problem#8580</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=491">brianh</a><br /><strong>Subject:</strong> 2876<br /><strong>Posted:</strong> 12 September 2005 at 4:15am<br /><br /><P><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"><FONT face="Verdana, Arial, Helvetica, sans-serif">Hi, if you set the xtpFlagNoMovable option for a toolbar control it stops the user from being able to move or delete the control via the toolbar customisation dialog (as expected), but it still allows them to hide the control from the pop-out menu! <IMG src="http://forum.codejock.com/smileys/smiley18.gif" border="0"><?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></SPAN></P><P><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"><FONT face="Verdana, Arial, Helvetica, sans-serif">Also, I hide/show some toolbar controls depending on the context in the view, these controls are all marked as not movable, but when the 'Reset' option is chosen from the pop-out menu all controls, including those marked as not movable are 'restored' to the toolbar!&nbsp;<IMG src="http://forum.codejock.com/smileys/smiley18.gif" border="0"></FONT></SPAN></P><P><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"><FONT face="Verdana, Arial, Helvetica, sans-serif">This is a real problem for me, can you please change this so that controls that are marked as not movable don’t appear in the pop-out menu and that they also don’t get affected by choosing ‘Reset’ from this menu?&nbsp; After all, if they can't be customised by the user, and they are currently hidden, then it must be because the programmer want's it that way. <IMG src="http://forum.codejock.com/smileys/smiley4.gif" border="0"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></FONT></SPAN></P><P><SPAN style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"><FONT face="Verdana, Arial, Helvetica, sans-serif"><SPAN style="mso-spacerun: yes"></SPAN>These changes would make things more consistent and would give us programmers the kind of control we need over which parts of a toolbar the user can and can’t customise.<SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>Thanks.</FONT></SPAN></P>]]>
   </description>
   <pubDate>Mon, 12 Sep 2005 04:15:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2876&amp;PID=8580&amp;title=disable-customisation-problem#8580</guid>
  </item> 
 </channel>
</rss>