<?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] SetFocusedRow broken in 15.01</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : [SOLVED] SetFocusedRow broken in 15.01]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 04:17:55 +0000</pubDate>
  <lastBuildDate>Thu, 10 Mar 2011 12:48:24 +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=17850</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] SetFocusedRow broken in 15.01 : already released ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17850&amp;PID=63223&amp;title=solved-setfocusedrow-broken-in-15-01#63223</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 17850<br /><strong>Posted:</strong> 10 March 2011 at 12:48pm<br /><br />already released]]>
   </description>
   <pubDate>Thu, 10 Mar 2011 12:48:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17850&amp;PID=63223&amp;title=solved-setfocusedrow-broken-in-15-01#63223</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] SetFocusedRow broken in 15.01 : Will there be a bug release ? ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17850&amp;PID=62966&amp;title=solved-setfocusedrow-broken-in-15-01#62966</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=903">Alex G.</a><br /><strong>Subject:</strong> 17850<br /><strong>Posted:</strong> 25 February 2011 at 3:24am<br /><br /><P>Will there be a bug release ?</P>]]>
   </description>
   <pubDate>Fri, 25 Feb 2011 03:24:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17850&amp;PID=62966&amp;title=solved-setfocusedrow-broken-in-15-01#62966</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] SetFocusedRow broken in 15.01 : Thanks, fix is comming.   ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17850&amp;PID=62525&amp;title=solved-setfocusedrow-broken-in-15-01#62525</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17850<br /><strong>Posted:</strong> 10 February 2011 at 2:53am<br /><br /><div style=": rgb255, 255, 255; margin-left: 1px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; font-family: Verdana, Arial, Helvetica, sans-serif; color: rgb0, 0, 0; font-weight: normal; font-size: 12px; line-height: 1.4; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; -: n&#111;ne; ">Thanks, fix is comming.</div>]]>
   </description>
   <pubDate>Thu, 10 Feb 2011 02:53:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17850&amp;PID=62525&amp;title=solved-setfocusedrow-broken-in-15-01#62525</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] SetFocusedRow broken in 15.01 : I figured out why the newer version...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17850&amp;PID=62510&amp;title=solved-setfocusedrow-broken-in-15-01#62510</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3810">flashk</a><br /><strong>Subject:</strong> 17850<br /><strong>Posted:</strong> 09 February 2011 at 3:30pm<br /><br />I figured out why the newer version is broken. The <strong>CMDTARGET_RELEASE</strong> macro not only decrements the reference count, but also sets the pointer to 0.<table width="99%"><tr><td><pre class="BBcode">#define CMDTARGET_RELEASE(x) if (x) { x-&gt;InternalRelease(); <b>x = 0;</b>}</pre></td></tr></table><div>I don't think this is the intended behavior.&nbsp;The line:<table width="99%"><tr><td><pre class="BBcode">CMDTARGET_RELEASE(pRow);</pre></td></tr></table><div><div>should be changed to:<table width="99%"><tr><td><pre class="BBcode">pRow-&gt;InternalRelease();</pre></td></tr></table></div><div>This fixed the issue for me.</div></div></div>]]>
   </description>
   <pubDate>Wed, 09 Feb 2011 15:30:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17850&amp;PID=62510&amp;title=solved-setfocusedrow-broken-in-15-01#62510</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] SetFocusedRow broken in 15.01 : I was able to fix the issue by...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17850&amp;PID=62508&amp;title=solved-setfocusedrow-broken-in-15-01#62508</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3810">flashk</a><br /><strong>Subject:</strong> 17850<br /><strong>Posted:</strong> 09 February 2011 at 3:06pm<br /><br />I was able to fix the issue by reverting the changes made to the SetFocusedRow function since the beta version. Basically, I modified the following section of the function from:<div><table width="99%"><tr><td><pre class="BBcode">if (nFocusedRow != pRow-&gt;GetIndex() || pRow-&gt;GetType() != nFocusedRowType)</div><div>{</div><div>&nbsp;&nbsp; &nbsp;CMDTARGET_ADDREF(pRow);</div><div><br></div><div>&nbsp;&nbsp; &nbsp;BOOL bApply = OnFocusChanging(pRow, NULL);</div><div><br></div><div>&nbsp;&nbsp; &nbsp;if (pRow-&gt;m_dwRef == 1) // Removed</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;bApply = FALSE;</div><div><br></div><div>&nbsp;&nbsp; &nbsp;CMDTARGET_RELEASE(pRow);</div><div><br></div><div>&nbsp;&nbsp; &nbsp;if (!bApply)</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;return FALSE;</div><div>}</pre></td></tr></table></div><div>to:</div><div><table width="99%"><tr><td><pre class="BBcode">if (nFocusedRow != pRow-&gt;GetIndex() || pRow-&gt;GetType() != nFocusedRowType)</div><div>{</div><div>&nbsp;&nbsp; &nbsp;if (!OnFocusChanging(pRow, NULL))</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;return FALSE;</div><div>}</pre></td></tr></table></div><div><br></div>]]>
   </description>
   <pubDate>Wed, 09 Feb 2011 15:06:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17850&amp;PID=62508&amp;title=solved-setfocusedrow-broken-in-15-01#62508</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] SetFocusedRow broken in 15.01 :  After updating to 15.01, CXT...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17850&amp;PID=62498&amp;title=solved-setfocusedrow-broken-in-15-01#62498</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3810">flashk</a><br /><strong>Subject:</strong> 17850<br /><strong>Posted:</strong> 09 February 2011 at 1:13pm<br /><br />After updating to 15.01, CXTPReportControl::SetFocusedRow does not seem to work any more. The selected row does not change. This worked fine in the beta version.<div><br></div><div>Is there a different function I should use to programmatically select a specific row?</div><div><br></div>]]>
   </description>
   <pubDate>Wed, 09 Feb 2011 13:13:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17850&amp;PID=62498&amp;title=solved-setfocusedrow-broken-in-15-01#62498</guid>
  </item> 
 </channel>
</rss>