<?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 control the customization on commandbars</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : How to control the customization on commandbars]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 06:36:04 +0000</pubDate>
  <lastBuildDate>Mon, 25 Sep 2006 06:02:32 +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=5134</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 control the customization on commandbars : Hi,  I would like to allow the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5134&amp;PID=16044&amp;title=how-to-control-the-customization-on-commandbars#16044</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1309">simus</a><br /><strong>Subject:</strong> 5134<br /><strong>Posted:</strong> 25 September 2006 at 6:02am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I would like to allow the user to Customize the Context Menu that are available in my application when right clicking on my app objects, just like it is possible with Toolbars and MenuBar using the standard customization.</DIV><DIV>&nbsp;</DIV><DIV>For the moment what I do is, at start of customization I create a dummy CXTPToolbar where I&nbsp;add all the Context menu I want to.&nbsp;Then the user organize them as he wants. Then after customization I will get back the organization of the context menus by exploring them, and I'll use that to recreate them after.</DIV><DIV>&nbsp;</DIV><DIV>Now the problem I see is that &nbsp;the user can drag/drop items from the dummy toolbar to the standard toolbar or menu bar&nbsp;and vice versa.</DIV><DIV>&nbsp;</DIV><DIV>I want to prevent the user to be able to drag/drop a CXTPControl from the dummy toolbar to any other Context menu that from the one it comes, I just want to let him reorganize the inside of the Context menu, does anyone have an idea on how to do that?</DIV><DIV>&nbsp;</DIV><DIV>I saw the OnCustomizeDragEnter and OnCustomizeDrop virtual functions but they are on CXTPControl class, so it won't help I think.</DIV><DIV>&nbsp;</DIV><DIV>Please help, Thanks a lot</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 25 Sep 2006 06:02:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5134&amp;PID=16044&amp;title=how-to-control-the-customization-on-commandbars#16044</guid>
  </item> 
 </channel>
</rss>