<?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 use &quot;EnableContextMenus()&quot;</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : How to use &quot;EnableContextMenus()&quot;]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 26 Apr 2026 00:22:44 +0000</pubDate>
  <lastBuildDate>Wed, 11 Apr 2007 04:57:48 +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=6827</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 use &quot;EnableContextMenus()&quot; : Thanks alot Oleg for support. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6827&amp;PID=21825&amp;title=how-to-use-enablecontextmenus#21825</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2903">KumarCJ</a><br /><strong>Subject:</strong> 6827<br /><strong>Posted:</strong> 11 April 2007 at 4:57am<br /><br />Thanks alot Oleg for support.]]>
   </description>
   <pubDate>Wed, 11 Apr 2007 04:57:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6827&amp;PID=21825&amp;title=how-to-use-enablecontextmenus#21825</guid>
  </item> 
  <item>
   <title><![CDATA[How to use &quot;EnableContextMenus()&quot; : Hi,  yes, it will disable context...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6827&amp;PID=21820&amp;title=how-to-use-enablecontextmenus#21820</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6827<br /><strong>Posted:</strong> 11 April 2007 at 3:52am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>yes, it will disable context menu for all toolbars and menus.</DIV>]]>
   </description>
   <pubDate>Wed, 11 Apr 2007 03:52:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6827&amp;PID=21820&amp;title=how-to-use-enablecontextmenus#21820</guid>
  </item> 
  <item>
   <title><![CDATA[How to use &quot;EnableContextMenus()&quot; : Hi Oleg,  Thanks alot.  I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6827&amp;PID=21817&amp;title=how-to-use-enablecontextmenus#21817</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2903">KumarCJ</a><br /><strong>Subject:</strong> 6827<br /><strong>Posted:</strong> 11 April 2007 at 3:15am<br /><br />Hi Oleg,<DIV>&nbsp;</DIV><DIV>Thanks alot.</DIV><DIV>&nbsp;</DIV><DIV>I catched "WM_XTP_TOOLBARCONTEXTMENU" and in the handler remove all controls from&nbsp; pPopup - LPARAM, using follwing code:</DIV><DIV>&nbsp;</DIV><DIV>CXTPPopupBar* pPopup = (CXTPPopupBar*)lParam;</DIV><DIV>pPopup-&gt;GetControls()-&gt;RemoveAll();</DIV><DIV>&nbsp;</DIV><DIV>Is the avobe code is the replacement for given below code for both Menu and ToolBar EnableContextMenu </DIV><DIV>&nbsp;</DIV><DIV><DIV align=center>//pMenuBar-&gt;EnableContextMenus(FALSE);&nbsp; //Menu<BR>//pToolBar-&gt;EnableContextMenus(FALSE);&nbsp;&nbsp;&nbsp;//ToolBar</DIV></DIV><DIV>&nbsp;</DIV><DIV>Or else for ToolBar some other code is required?</DIV><DIV>&nbsp;</DIV><DIV>Please Confirm on this.</DIV><DIV>&nbsp;</DIV><DIV>Waiting for your reply.</DIV><DIV>&nbsp;</DIV><DIV>Thanks in Advance.</DIV><DIV>KumarCJ.</DIV>]]>
   </description>
   <pubDate>Wed, 11 Apr 2007 03:15:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6827&amp;PID=21817&amp;title=how-to-use-enablecontextmenus#21817</guid>
  </item> 
  <item>
   <title><![CDATA[How to use &quot;EnableContextMenus()&quot; : Hi, One of solution is catch...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6827&amp;PID=21804&amp;title=how-to-use-enablecontextmenus#21804</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6827<br /><strong>Posted:</strong> 10 April 2007 at 2:53pm<br /><br /><DIV>Hi,</DIV><DIV>One of solution is catch WM_XTP_TOOLBARCONTEXTMENU and remove all controls from&nbsp; pPopup - LPARAM.</DIV><DIV>&nbsp;</DIV><DIV>CXTPPopupBar* pPopup = (CXTPPopupBar*)lParam;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 10 Apr 2007 14:53:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6827&amp;PID=21804&amp;title=how-to-use-enablecontextmenus#21804</guid>
  </item> 
  <item>
   <title><![CDATA[How to use &quot;EnableContextMenus()&quot; : Hi,  We are upgrading ourapplication...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6827&amp;PID=21788&amp;title=how-to-use-enablecontextmenus#21788</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2903">KumarCJ</a><br /><strong>Subject:</strong> 6827<br /><strong>Posted:</strong> 10 April 2007 at 7:58am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>We are upgrading our&nbsp;application from code jock 4.2 to&nbsp;code jock 10.4.2.</DIV><DIV>&nbsp;</DIV><DIV>For disabling, Context Menus, we were using following code&nbsp;in code jock 4.2 version of our application.</DIV><DIV>&nbsp;</DIV><DIV align=center>//m_wndMenuBar.EnableContextMenus(FALSE);<BR>//m_wndToolBar.EnableContextMenus(FALSE);</DIV><DIV>&nbsp;</DIV><DIV>I had added the following code for Code jock 10.4.2.</DIV><DIV>&nbsp;</DIV><DIV align=center>CXTPMenuBar* pMenuBar;</DIV><DIV align=center>CXTPToolBar* pToolBar;</DIV><DIV align=center>.</DIV><DIV align=center>.</DIV><DIV align=center>.</DIV><DIV align=center>.</DIV><DIV align=center>//pMenuBar-&gt;EnableContextMenus(FALSE);<BR>//pToolBar-&gt;EnableContextMenus(FALSE);</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>How we can use "EnableContextMenus()" to enable/disable the Context Menus&nbsp;in code jock 10.4.2.</DIV><DIV>&nbsp;</DIV><DIV>Please Help me out regarding this issue.</DIV><DIV>&nbsp;</DIV><DIV>Thanks,</DIV><DIV>KumarCJ</DIV>]]>
   </description>
   <pubDate>Tue, 10 Apr 2007 07:58:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6827&amp;PID=21788&amp;title=how-to-use-enablecontextmenus#21788</guid>
  </item> 
 </channel>
</rss>