<?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 : Context menu key from keyboard doesn&#039;t work</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Syntax Edit : Context menu key from keyboard doesn&#039;t work]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 23 May 2026 03:57:48 +0000</pubDate>
  <lastBuildDate>Tue, 27 Jan 2009 11:41:44 +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=11530</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[Context menu key from keyboard doesn&#039;t work : Fixed. Get release 13 (Feb 2009)...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11530&amp;PID=44932&amp;title=context-menu-key-from-keyboard-doesnt-work#44932</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 11530<br /><strong>Posted:</strong> 27 January 2009 at 11:41am<br /><br />Fixed. Get release 13 (Feb 2009)]]>
   </description>
   <pubDate>Tue, 27 Jan 2009 11:41:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11530&amp;PID=44932&amp;title=context-menu-key-from-keyboard-doesnt-work#44932</guid>
  </item> 
  <item>
   <title><![CDATA[Context menu key from keyboard doesn&#039;t work : Hello all,  like someone has...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11530&amp;PID=38677&amp;title=context-menu-key-from-keyboard-doesnt-work#38677</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4339">peerschindel</a><br /><strong>Subject:</strong> 11530<br /><strong>Posted:</strong> 22 July 2008 at 5:11am<br /><br />Hello all,<DIV>&nbsp;</DIV><DIV>like someone has written in another message in the forum:</DIV><DIV>The Syntax Edit control is really o.k., but why couldn't it reach 99%</DIV><DIV>instead of stopping at 95%.</DIV><DIV>Another small issue (like the 2 from yesterday):</DIV><DIV>The context menu key from the keyboard doesn't work</DIV><DIV>(this can be seen e.g. in the "MDITextEditor" sample where there's</DIV><DIV>source code to try to handle the case, but the message never comes to</DIV><DIV>there).</DIV><DIV>The reason is, that "<FONT size=2>CXTPSyntaxEditCtrl::OnContextMenu" does</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>...</FONT></DIV><DIV><FONT size=2>if (m_pParentWnd &amp;&amp; rcWnd.PtInRect(point))</FONT></DIV><DIV><FONT size=2>{</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; CWnd::HideCaret();</FONT></DIV><DIV><FONT size=2>&nbsp; &nbsp; m_pParentWnd-&gt;SendMessage(WM_CONTEXTMENU, </FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (WPARAM)pWnd-&gt;GetSafeHwnd(), </FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (LPARAM)MAKELONG(point.x, point.y));</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; ...</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>and if the point is (-1,-1) (due to invocation from keyboard)<BR>the context menu message is never send to the parent e.g.</FONT></DIV><DIV><FONT size=2>the edit view.</FONT></DIV><DIV><FONT size=2>Ok, again, it can be workaround (with or without changing the</FONT></DIV><DIV><FONT size=2>library source code). But it would be much nicer if it would be</FONT></DIV><DIV><FONT size=2>o.k. out of the box.</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Best regards</DIV><DIV></DIV><P></FONT>&nbsp;</P>]]>
   </description>
   <pubDate>Tue, 22 Jul 2008 05:11:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11530&amp;PID=38677&amp;title=context-menu-key-from-keyboard-doesnt-work#38677</guid>
  </item> 
 </channel>
</rss>