<?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 : Report C&#111;ntrol: C&#111;ntext Menu</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Report C&#111;ntrol: C&#111;ntext Menu]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 06 Apr 2026 21:36:56 +0000</pubDate>
  <lastBuildDate>Mon, 09 Jan 2006 08:07: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=3485</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[Report C&#111;ntrol: C&#111;ntext Menu : Thanks for your help! ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3485&amp;PID=10467&amp;title=report-control-context-menu#10467</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1107">leo_12</a><br /><strong>Subject:</strong> 3485<br /><strong>Posted:</strong> 09 January 2006 at 8:07am<br /><br />Thanks for your help! <IMG src="http://forum.codejock.com/smileys/smiley1.gif" border="0">]]>
   </description>
   <pubDate>Mon, 09 Jan 2006 08:07:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3485&amp;PID=10467&amp;title=report-control-context-menu#10467</guid>
  </item> 
  <item>
   <title><![CDATA[Report C&#111;ntrol: C&#111;ntext Menu : Hi leo, Actually there is a bug...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3485&amp;PID=10464&amp;title=report-control-context-menu#10464</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 3485<br /><strong>Posted:</strong> 09 January 2006 at 7:18am<br /><br /><P>Hi leo,</P><P>Actually there is a bug here. Just change condition a little and rebuild the Toolkit:</P><P>from:</P><P>&nbsp;&nbsp; SetFocusedRow(pRow, !pRow-&gt;IsGroupRow() <strong>||</strong> pRow-&gt;IsSelected());<BR>to:<BR>&nbsp;&nbsp; SetFocusedRow(pRow, !pRow-&gt;IsGroupRow() <FONT color=#ff0000><strong>&amp;&amp; </strong></FONT>pRow-&gt;IsSelected());</P><P>The idea is: do not reset multiple selection when you click&nbsp;at one of selected items, and reset (change) selection when click&nbsp;at not selected row or&nbsp;at the group row.</P><P>--<BR>WBR,<BR>Serge</P>]]>
   </description>
   <pubDate>Mon, 09 Jan 2006 07:18:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3485&amp;PID=10464&amp;title=report-control-context-menu#10464</guid>
  </item> 
  <item>
   <title><![CDATA[Report C&#111;ntrol: C&#111;ntext Menu : When right-clicking on a row in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3485&amp;PID=10463&amp;title=report-control-context-menu#10463</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1107">leo_12</a><br /><strong>Subject:</strong> 3485<br /><strong>Posted:</strong> 09 January 2006 at 3:58am<br /><br /><P>When right-clicking on a row in a ReportControl I expected the selection would be changed to the row where I clicked and the context menu is shown for that row. </P><P>In release 9.81 the focus is changed but not the selection. Therefore it is unclear whether the context menu is valid for the focused or for the selected row.</P><P>Why is the selection ignored if the focused row is not a GroupRow?</P><P><FONT face="Courier New, Courier, mono"><table width="99%"><tr><td><pre class="BBcode">void CXTPReportControl::OnContextMenu(CWnd* /*pWnd*/, CPoint pos)<BR>{</FONT></P><P><FONT face="Courier New, Courier, mono">...&nbsp;&nbsp;</FONT></P><P><FONT face="Courier New, Courier, mono">if (pRow)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;SetFocusedRow(pRow, !pRow-&gt;IsGroupRow() || pRow-&gt;IsSelected());<BR>&nbsp;&nbsp;&nbsp;pRow-&gt;OnContextMenu(ptClient);<BR>&nbsp;&nbsp;}</FONT></P><P><FONT face="Courier New, Courier, mono">...<BR>}</pre></td></tr></table></FONT></P><P><FONT face="Courier New"></FONT>&nbsp;</P><P><FONT face="Verdana, Arial, Helvetica, sans-serif">Any comments on that?</FONT></P>]]>
   </description>
   <pubDate>Mon, 09 Jan 2006 03:58:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3485&amp;PID=10463&amp;title=report-control-context-menu#10463</guid>
  </item> 
 </channel>
</rss>