<?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 : Suggestion:  please add XTP_NM_REPORT_GROUPBY_...</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Suggestion:  please add XTP_NM_REPORT_GROUPBY_...]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 04 Jun 2026 11:42:30 +0000</pubDate>
  <lastBuildDate>Sun, 22 Apr 2012 08:07:23 +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=19677</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[Suggestion:  please add XTP_NM_REPORT_GROUPBY_... : Hi,Please add a XTP_NM_REPORT_GROUPBY_RCLICK...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19677&amp;PID=68053&amp;title=suggestion-please-add-xtp-nm-report-groupby#68053</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1263">Fredrik</a><br /><strong>Subject:</strong> 19677<br /><strong>Posted:</strong> 22 April 2012 at 8:07am<br /><br /><div>Hi,&nbsp;</div><div><br></div><div>Please add a XTP_NM_REPORT_GROUPBY_RCLICK (or similar) notification message for when the user right-clicks on the Group By area.&nbsp;</div><div><br></div><div>Also, I wouldn't mind if <table width="99%"><tr><td><pre class="BBcode">static BOOL CXTPReportHeader::s_bSendContextMenuForWholeHeaderArea</pre></td></tr></table> become a member instead and that there were set functions to set it.</div><div><br></div><div>Something like this?</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><div>void CXTPReportHeader::OnContextMenu(CPoint ptClick)</div><div>{</div><div>&nbsp; &nbsp;CPoint ptClient(ptClick);</div><div>&nbsp; &nbsp;if (!m_pControl || !m_pControl-&gt;GetMouseMode() != xtpReportMouseNothing)</div><div>&nbsp; &nbsp; &nbsp; return;</div><div><br></div><div>&nbsp; &nbsp;if (m_pControl-&gt;m_rcHeaderArea.PtInRect(ptClient))</div><div>&nbsp; &nbsp;{</div><div>&nbsp; &nbsp; &nbsp; // mark the column as clicked at by the dragging</div><div>&nbsp; &nbsp; &nbsp; CXTPReportColumn* pColumn = HitTest(ptClient);</div><div>&nbsp; &nbsp; &nbsp; if (pColumn || m_bSendContextMenuForWholeHeaderArea)</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;m_pControl-&gt;ClientToScreen(&amp;ptClick);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// send process notification to the user and wait for the reaction</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;m_pControl-&gt;SendMessageToParent(NULL, NULL, pColumn, XTP_NM_REPORT_HEADER_RCLICK, &amp;ptClick);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;m_pControl-&gt;RedrawControl();</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp;}</div><div>&nbsp; &nbsp;else if (m_pControl-&gt;m_rcGroupByArea.PtInRect(ptClient))</div><div>&nbsp; &nbsp;{</div><div>&nbsp; &nbsp; &nbsp; m_pControl-&gt;ClientToScreen(&amp;ptClick);</div><div>&nbsp; &nbsp; &nbsp; // send process notification to the user and wait for the reaction</div><div>&nbsp; &nbsp; &nbsp; m_pControl-&gt;SendMessageToParent(NULL, NULL, NULL, XTP_NM_REPORT_GROUPBY_RCLICK, &amp;ptClick);</div><div><br></div><div>&nbsp; &nbsp; &nbsp; m_pControl-&gt;RedrawControl();</div><div>&nbsp; &nbsp;}</div><div>}</div></div><div></pre></td></tr></table></div>]]>
   </description>
   <pubDate>Sun, 22 Apr 2012 08:07:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19677&amp;PID=68053&amp;title=suggestion-please-add-xtp-nm-report-groupby#68053</guid>
  </item> 
 </channel>
</rss>