<?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 : [SOLVED] Right click coordinates not consistent</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : [SOLVED] Right click coordinates not consistent]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 19 May 2026 05:21:23 +0000</pubDate>
  <lastBuildDate>Wed, 21 Sep 2011 18:03:03 +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=18963</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[[SOLVED] Right click coordinates not consistent : This has been fixed for the next...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18963&amp;PID=66381&amp;title=solved-right-click-coordinates-not-consistent#66381</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 18963<br /><strong>Posted:</strong> 21 September 2011 at 6:03pm<br /><br />This has been fixed for the next release. As a workaround you can add the following code to your handler.<br><br>#if _XTPLIB_VERSION_PREFIX==1513<br><br>XTP_NM_REPORTRECORDITEM *pItemNotify = reinterpret_cast&lt;XTP_NM_REPORTRECORDITEM*&gt;(pNotifyStruct);<br><br>if (NULL == pItemNotify-&gt;pRow)<br>{<br>&nbsp;&nbsp; m_wndReportControl.ClientToScreen(&amp;pItemNotify-&gt;pt);<br>}<br><br>#endif<br><br>]]>
   </description>
   <pubDate>Wed, 21 Sep 2011 18:03:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18963&amp;PID=66381&amp;title=solved-right-click-coordinates-not-consistent#66381</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Right click coordinates not consistent :  Thanks, it&amp;#039;s indeed a bug....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18963&amp;PID=66373&amp;title=solved-right-click-coordinates-not-consistent#66373</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 18963<br /><strong>Posted:</strong> 20 September 2011 at 11:54pm<br /><br />Thanks, it's indeed a bug. I've added a new test to the ReportSample.<br><br>Andre<br><br>]]>
   </description>
   <pubDate>Tue, 20 Sep 2011 23:54:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18963&amp;PID=66373&amp;title=solved-right-click-coordinates-not-consistent#66373</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Right click coordinates not consistent :  looks like a ClientToScreen...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18963&amp;PID=66352&amp;title=solved-right-click-coordinates-not-consistent#66352</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 18963<br /><strong>Posted:</strong> 18 September 2011 at 11:36pm<br /><br />looks like a ClientToScreen is missing at line 3528 in XTPReportControl.cpp<div><br></div><div>it should be</div><div><br></div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><div><span ="Apple-tab-span" style="white-space:pre">	</span>// Context menu</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>if (pBehavior-&gt;bContextMenu)</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>{</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>if (NULL != m_pSections-&gt;HitTest(point))</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>{</div><div><span ="Apple-tab-span" style="white-space:pre">			</span>if (NULL != clickArgs.pRow)</div><div><span ="Apple-tab-span" style="white-space:pre">			</span>{</div><div><span ="Apple-tab-span" style="white-space:pre">				</span>clickArgs.pRow-&gt;OnContextMenu(point);</div><div><span ="Apple-tab-span" style="white-space:pre">			</span>}</div><div><span ="Apple-tab-span" style="white-space:pre">			</span>else</div><div><span ="Apple-tab-span" style="white-space:pre">			</span>{</div><div><span ="Apple-tab-span" style="white-space:pre">				</span>ClientToScreen(&amp;point);</div><div><span ="Apple-tab-span" style="white-space:pre">				</span>SendMessageToParent(NULL, NULL, NULL, NM_RCLICK, &amp;point);</div><div><span ="Apple-tab-span" style="white-space:pre">			</span>}</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>}</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>}</div><div></pre></td></tr></table></div></div>]]>
   </description>
   <pubDate>Sun, 18 Sep 2011 23:36:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18963&amp;PID=66352&amp;title=solved-right-click-coordinates-not-consistent#66352</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Right click coordinates not consistent :  With the upgrade to 15.1.3 we...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18963&amp;PID=66351&amp;title=solved-right-click-coordinates-not-consistent#66351</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5402">Aaron Koolen</a><br /><strong>Subject:</strong> 18963<br /><strong>Posted:</strong> 18 September 2011 at 8:48pm<br /><br />With the upgrade to 15.1.3 we have noticed that the coordinates in the&nbsp;XTP_NM_REPORTRECORDITEM passed into the right click handler are not consistent between clicking on a row and in the empty area of the control.<div><br></div><div>In the latter it looks like coordinates are not translated to screen coordinates, and in the former they are (As they were in older versions).</div><div><br></div><div>Popup menus that are displayed on right click now appear in different positions depending on where you click.</div><div><br></div><div>Is there any known fix for this?</div><div><br></div><div>Thanks</div><div>Aaron</div><div><br></div>]]>
   </description>
   <pubDate>Sun, 18 Sep 2011 20:48:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18963&amp;PID=66351&amp;title=solved-right-click-coordinates-not-consistent#66351</guid>
  </item> 
 </channel>
</rss>