<?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 : D&#111;nt let toolbar hide in customize dialog</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : D&#111;nt let toolbar hide in customize dialog]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 01:39:52 +0000</pubDate>
  <lastBuildDate>Fri, 25 Jun 2004 00:29:46 +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=717</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[D&#111;nt let toolbar hide in customize dialog :  I just tried this SetClosable...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=717&amp;PID=2333&amp;title=dont-let-toolbar-hide-in-customize-dialog#2333</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 717<br /><strong>Posted:</strong> 25 June 2004 at 12:29am<br /><br /><br>I just tried this SetClosable but the toolbar still shows up in thetoolbar list (view -&gt; toolbars) and lets you close/add it fromthere. I think it should be removed from that list together, just likeit is from the right-click list of toolbars.<br><br>]]>
   </description>
   <pubDate>Fri, 25 Jun 2004 00:29:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=717&amp;PID=2333&amp;title=dont-let-toolbar-hide-in-customize-dialog#2333</guid>
  </item> 
  <item>
   <title><![CDATA[D&#111;nt let toolbar hide in customize dialog : IsCloseable/SetCloseable methods...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=717&amp;PID=1903&amp;title=dont-let-toolbar-hide-in-customize-dialog#1903</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 717<br /><strong>Posted:</strong> 12 May 2004 at 12:32am<br /><br />IsCloseable/SetCloseable methods added]]>
   </description>
   <pubDate>Wed, 12 May 2004 00:32:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=717&amp;PID=1903&amp;title=dont-let-toolbar-hide-in-customize-dialog#1903</guid>
  </item> 
  <item>
   <title><![CDATA[D&#111;nt let toolbar hide in customize dialog : Thank you for good suggestion....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=717&amp;PID=1899&amp;title=dont-let-toolbar-hide-in-customize-dialog#1899</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 717<br /><strong>Posted:</strong> 12 May 2004 at 12:07am<br /><br />Thank you for good suggestion. added in source too.]]>
   </description>
   <pubDate>Wed, 12 May 2004 00:07:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=717&amp;PID=1899&amp;title=dont-let-toolbar-hide-in-customize-dialog#1899</guid>
  </item> 
  <item>
   <title><![CDATA[D&#111;nt let toolbar hide in customize dialog :     When I set pToolBar-&amp;g...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=717&amp;PID=1898&amp;title=dont-let-toolbar-hide-in-customize-dialog#1898</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=203">Ark42</a><br /><strong>Subject:</strong> 717<br /><strong>Posted:</strong> 11 May 2004 at 9:21pm<br /><br /><br>When I set pToolBar-&gt;SetContextMenuPresent(FALSE); the purpose asfar as I can tell is so that you can't right click and hide thetoolbar.&nbsp; I have a toolbar (thats on a docking pane) that I don'twant hidable, movable, or anything.&nbsp; All is fine except that youcan right click other toolbars and pick Customize and uncheck the boxand cause the toolbar to be hidden.<br><br>I added<br>void SetCustomizeHidable(BOOL bHidable);<br>just under SetContextMenuPresent in XTPToolBar.h<br><br>and then<br>AFX_INLINE void CXTPToolBar::SetCustomizeHidable(BOOL bHidable) {<br>&nbsp;&nbsp;&nbsp; m_bCustomizeHidable = bHidable;<br>}<br>in the same file under the inline for SetContextMenuPresent<br><br>Then, in XTPCommandBar.h I added the line<br>BOOL m_bCustomizeHidable;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; // TRUE if the command bar isable to be hidden via customize dialog<br>Just under the BOOL m_bContextMenuPresent<br><br>And also<br>m_bCustomizeHidable = TRUE;<br>in the CXTPCommandBar constructor in XTPCommandBar.cpp<br><br>Finally, I changed the line in XTPCustomizeToolbarsPage.cpp inside of CXTPCustomizeToolbarsPage::OnChkChange from<br>if (pToolBar-&gt;GetType() == xtpBarTypeMenuBar)<br>to<br>if (pToolBar-&gt;GetType() == xtpBarTypeMenuBar || !pToolBar-&gt;m_bCustomizeHidable)<br><br>and now I can easily call pToolBar-&gt;SetCustomizeHidable(FALSE);and have this toolbar not be uncheckable, but still be customizeable.<br><br>Please add this or something similar to future versions...<br><br><span style="font-size:10px"><br /><br />Edited by Ark42</span>]]>
   </description>
   <pubDate>Tue, 11 May 2004 21:21:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=717&amp;PID=1898&amp;title=dont-let-toolbar-hide-in-customize-dialog#1898</guid>
  </item> 
 </channel>
</rss>