<?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 : QUESTION: Disable ContextMenu on string items</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : QUESTION: Disable ContextMenu on string items]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 06:32:45 +0000</pubDate>
  <lastBuildDate>Mon, 27 Apr 2009 13:51:07 +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=14007</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[QUESTION: Disable ContextMenu on string items : Hi Jason,  Thanks for checking...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14007&amp;PID=48393&amp;title=question-disable-contextmenu-on-string-items#48393</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 14007<br /><strong>Posted:</strong> 27 April 2009 at 1:51pm<br /><br />Hi Jason,<DIV>&nbsp;</DIV><DIV>Thanks for checking this <img src="https://forum.codejock.com/smileys/smiley4.gif" border="0">&nbsp;I am sure I did the same as you suggested (I had still the events showing in my test project) and it didn't work. Well I tried again and it works same way as with PropertyGrid control.</DIV><DIV>&nbsp;</DIV><DIV>Thanks again.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 27 Apr 2009 13:51:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14007&amp;PID=48393&amp;title=question-disable-contextmenu-on-string-items#48393</guid>
  </item> 
  <item>
   <title><![CDATA[QUESTION: Disable ContextMenu on string items : Try this: Private Sub ReportControl1_BeginEdit(ByVal...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14007&amp;PID=48391&amp;title=question-disable-contextmenu-on-string-items#48391</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14007<br /><strong>Posted:</strong> 27 April 2009 at 12:41pm<br /><br />Try this:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>Private Sub ReportControl1_BeginEdit(ByVal Row As XtremeReportControl.IReportRow, ByVal Column As XtremeReportControl.IReportColumn, ByVal Item As XtremeReportControl.IReportRecordItem)<br>&nbsp;&nbsp; HookContextMenu Me.ReportControl1.InplaceEditHwnd<br>End Sub<br><br>Private Sub ReportControl1_EditCanceled(ByVal Row As XtremeReportControl.IReportRow, ByVal Column As XtremeReportControl.IReportColumn, ByVal Item As XtremeReportControl.IReportRecordItem)<br>&nbsp;&nbsp; UnhookContextMenu<br>End Sub<br></pre></td></tr></table><br><br>Seems to work here.<br>]]>
   </description>
   <pubDate>Mon, 27 Apr 2009 12:41:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14007&amp;PID=48391&amp;title=question-disable-contextmenu-on-string-items#48391</guid>
  </item> 
  <item>
   <title><![CDATA[QUESTION: Disable ContextMenu on string items :    Aaron wrote:btw I also tried...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14007&amp;PID=48390&amp;title=question-disable-contextmenu-on-string-items#48390</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14007<br /><strong>Posted:</strong> 27 April 2009 at 12:38pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Aaron" alt="Originally posted by Aaron" style="vertical-align: text-bottom;" /> <strong>Aaron wrote:</strong><br /><br /><div>btw I also tried your&nbsp;code with <strong>wndReportControl.InplaceEditHwnd</strong> but this doesn't work as with PropertyGrid control ?!?</div></td></tr></table><br><br>Sorry Aaron, I missed the part of your post that said it doesn't work with the ReportControl...I'll take a look and see if I can get it working.<br>]]>
   </description>
   <pubDate>Mon, 27 Apr 2009 12:38:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14007&amp;PID=48390&amp;title=question-disable-contextmenu-on-string-items#48390</guid>
  </item> 
  <item>
   <title><![CDATA[QUESTION: Disable ContextMenu on string items : You can use this for IDE safe...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14007&amp;PID=48376&amp;title=question-disable-contextmenu-on-string-items#48376</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3745">JantjeKeizer</a><br /><strong>Subject:</strong> 14007<br /><strong>Posted:</strong> 27 April 2009 at 7:05am<br /><br />You can use <a href="http://www.Planet-Source-Code.com/vb/&#115;cripts/ShowCode.asp?txtCodeId=68737&lngWId=1" target="_blank">this</a> for IDE safe subclassing<br />]]>
   </description>
   <pubDate>Mon, 27 Apr 2009 07:05:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14007&amp;PID=48376&amp;title=question-disable-contextmenu-on-string-items#48376</guid>
  </item> 
  <item>
   <title><![CDATA[QUESTION: Disable ContextMenu on string items : Hi,   Will this be possible...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14007&amp;PID=48359&amp;title=question-disable-contextmenu-on-string-items#48359</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 14007<br /><strong>Posted:</strong> 26 April 2009 at 11:05am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>Will this be possible in future release / ever? </DIV><DIV>&nbsp;</DIV><DIV>Thank you</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sun, 26 Apr 2009 11:05:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14007&amp;PID=48359&amp;title=question-disable-contextmenu-on-string-items#48359</guid>
  </item> 
  <item>
   <title><![CDATA[QUESTION: Disable ContextMenu on string items : Hi Jason,  I know the &amp;#034;downside&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14007&amp;PID=48094&amp;title=question-disable-contextmenu-on-string-items#48094</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 14007<br /><strong>Posted:</strong> 18 April 2009 at 5:28am<br /><br />Hi Jason,<DIV>&nbsp;</DIV><DIV>I know the "downside" of subclassing,&nbsp;&nbsp;that's why I minimize the use... <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0">&nbsp;But in my case I have to do something, it doesn't look great when all my strings have translations of selected language and Popupmenu items aren't translated :(&nbsp;</DIV><DIV>I really want to make this work so I can select different languages during runtime. </DIV><DIV>&nbsp;</DIV><DIV><FONT color=#ff0000><strong>Maybe CJ will take care of this and create property for </strong><FONT color=#000000><strong><FONT color=#ff0000>ContextMenu</FONT></strong>,</FONT></FONT> would be nice option to have <img src="http://forum.codejock.com/smileys/smiley4.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>btw I also tried your&nbsp;code with <strong>wndReportControl.InplaceEditHwnd</strong> but this doesn't work as with PropertyGrid control ?!?</DIV><DIV>&nbsp;</DIV><DIV>Thanks again</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 18 Apr 2009 05:28:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14007&amp;PID=48094&amp;title=question-disable-contextmenu-on-string-items#48094</guid>
  </item> 
  <item>
   <title><![CDATA[QUESTION: Disable ContextMenu on string items : Hi Aaron, the code is &amp;#034;safe&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14007&amp;PID=48072&amp;title=question-disable-contextmenu-on-string-items#48072</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14007<br /><strong>Posted:</strong> 17 April 2009 at 11:35am<br /><br />Hi Aaron, the code is "safe" in the sense that it will work perfectly in your compiled EXE. It is "unsafe" in the sense that you can't break your program execution in the IDE to debug while the subclasser is active (when the edit window is visible), because it will crash the VB6 IDE. There are subclassing DLLs out there that prevent this problem, but then you add a dependency to your distribution. In any case, a CJ alternative (such as a UseDefaultContextMenu property) would be ideal.]]>
   </description>
   <pubDate>Fri, 17 Apr 2009 11:35:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14007&amp;PID=48072&amp;title=question-disable-contextmenu-on-string-items#48072</guid>
  </item> 
  <item>
   <title><![CDATA[QUESTION: Disable ContextMenu on string items : Hi Jason,  Thanks a lot for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14007&amp;PID=48021&amp;title=question-disable-contextmenu-on-string-items#48021</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 14007<br /><strong>Posted:</strong> 16 April 2009 at 4:57pm<br /><br />Hi Jason,<DIV>&nbsp;</DIV><DIV>Thanks a lot for sample project&nbsp;<img src="https://forum.codejock.com/smileys/smiley4.gif" border="0">&nbsp;It's a nice option to have but I have to know if this is a "safe" way of doing this? Do you use this code yourself? </DIV><DIV>I hope you are using it <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0">&nbsp;If so,&nbsp;I have only the system menu to worry about, but maybe CJ has an alternative...</DIV><DIV>&nbsp;</DIV><DIV>Thank you</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 16 Apr 2009 16:57:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14007&amp;PID=48021&amp;title=question-disable-contextmenu-on-string-items#48021</guid>
  </item> 
  <item>
   <title><![CDATA[QUESTION: Disable ContextMenu on string items : Hi Aaron,You can create a completely...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14007&amp;PID=47952&amp;title=question-disable-contextmenu-on-string-items#47952</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14007<br /><strong>Posted:</strong> 15 April 2009 at 11:10am<br /><br />Hi Aaron,<br><br>You can create a completely custom menu using the CommandBars control (for example) and show that in place of the default context menu. I've put together a sample app here:<br><br><a href="uploads/20090415_110906_SubclassPropert.zip" target="_blank">uploads/20090415_110906_SubclassPropert.zip</a><br><br>Using this method, showing just about any kind of context menu should be possible. The unfortunate side-effect is subclassing in the IDE is no fun, but there are safe-subclassing libraries out there you can use to make life easier.<br><br>]]>
   </description>
   <pubDate>Wed, 15 Apr 2009 11:10:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14007&amp;PID=47952&amp;title=question-disable-contextmenu-on-string-items#47952</guid>
  </item> 
  <item>
   <title><![CDATA[QUESTION: Disable ContextMenu on string items : Hi Jason,  Thanks for reply....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14007&amp;PID=47929&amp;title=question-disable-contextmenu-on-string-items#47929</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 14007<br /><strong>Posted:</strong> 15 April 2009 at 5:57am<br /><br />Hi Jason,<DIV>&nbsp;</DIV><DIV>Thanks for reply. If I would subclass the WM_CONTEXTMENU message, would it be possible to change the captions of buttons (Copy,Paste etc etc)?</DIV><DIV>&nbsp;</DIV><DIV>I'm asking this because I need to change application language during runtime. All works OK&nbsp;except for rightclicking a property string&nbsp;and SystemMenu (I was hoping on Oleg 's reply in some CommandBars subforum <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0">)</DIV><DIV>&nbsp;</DIV><DIV>Thanks a lot </DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 15 Apr 2009 05:57:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14007&amp;PID=47929&amp;title=question-disable-contextmenu-on-string-items#47929</guid>
  </item> 
 </channel>
</rss>