<?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 current cell?</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 current cell?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 20:14:08 +0000</pubDate>
  <lastBuildDate>Thu, 06 Jan 2005 03:43:19 +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=1623</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 current cell? : ThanksBoyd, I never thought about...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1623&amp;PID=4625&amp;title=report-control-current-cell#4625</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=491">brianh</a><br /><strong>Subject:</strong> 1623<br /><strong>Posted:</strong> 06 January 2005 at 3:43am<br /><br /><P>Thanks&nbsp;Boyd, I never thought about the headers, I should be able to handle the normal MFC message for the context menu and by using the HitTest() method of the column header I could then find the associated column and add/enable the "delete" item in the context menu.</P><P>I like to use a context menu for this kind of thing too, but I usually have a main&nbsp;menu item and toolbar button for the same purpose, so it would be nice if the grid maintained a "current column" to allow this, but until then the context menu will have to do. <IMG src="http://forum.codejock.com/smileys/smiley1.gif" border="0"></P><P>Thanks again.</P><span style="font-size:10px"><br /><br />Edited by brianh</span>]]>
   </description>
   <pubDate>Thu, 06 Jan 2005 03:43:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1623&amp;PID=4625&amp;title=report-control-current-cell#4625</guid>
  </item> 
  <item>
   <title><![CDATA[Report c&#111;ntrol current cell? : I&amp;#039;m not certain if there...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1623&amp;PID=4614&amp;title=report-control-current-cell#4614</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=260">Boyd</a><br /><strong>Subject:</strong> 1623<br /><strong>Posted:</strong> 05 January 2005 at 12:43pm<br /><br /><P>I'm not certain if there is a way to determine the focused column, but you do have one alternative.</P><P>I always use the right-click menu on the column header for actions such as this, and it is possible to determine which column the user right-clicked on.&nbsp; I don't use the MFC version, but the ActiveX version has a ColumnClick event as well as a HitTest method (both of which can be used to provide right-click menus for a column).&nbsp; The MFC version must surely have an equivalent approach.&nbsp; Since you know which column triggered the right-click menu, you'll know which column to remove if the user chooses that action.</P>]]>
   </description>
   <pubDate>Wed, 05 Jan 2005 12:43:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1623&amp;PID=4614&amp;title=report-control-current-cell#4614</guid>
  </item> 
  <item>
   <title><![CDATA[Report c&#111;ntrol current cell? : Hi, in my applicationthe user...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1623&amp;PID=4613&amp;title=report-control-current-cell#4613</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=491">brianh</a><br /><strong>Subject:</strong> 1623<br /><strong>Posted:</strong> 05 January 2005 at 11:31am<br /><br /><P>Hi, in my application&nbsp;the user can dynamically add columns to the report control and I want to allow them to remove columns too, but there doesn't appear to be any concept of a current cell in the report control so there is no intuitive way to select a column for deletion.&nbsp; I can find the focused row but there is no equivalent focused column. <IMG src="http://forum.codejock.com/smileys/smiley18.gif" border="0">&nbsp; Am I missing something? Thanks.</P>]]>
   </description>
   <pubDate>Wed, 05 Jan 2005 11:31:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1623&amp;PID=4613&amp;title=report-control-current-cell#4613</guid>
  </item> 
 </channel>
</rss>