<?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 : Select GridItem from mainfrm programmatically</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : Select GridItem from mainfrm programmatically]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 11:18:26 +0000</pubDate>
  <lastBuildDate>Wed, 27 Feb 2008 10:31:54 +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=9696</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[Select GridItem from mainfrm programmatically : maybe try something like this:...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9696&amp;PID=31657&amp;title=select-griditem-from-mainfrm-programmatically#31657</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1011">Barto</a><br /><strong>Subject:</strong> 9696<br /><strong>Posted:</strong> 27 February 2008 at 10:31am<br /><br /><DIV>maybe try something like this:</DIV><DIV>&nbsp;</DIV><DIV><table width="99%"><tr><td><pre class="BBcode"></DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;pGrid-&gt;SetFocus();<BR>&nbsp;&nbsp;&nbsp;&nbsp;pGrid-&gt;SetCurSel(nIndex);<BR>&nbsp;&nbsp;&nbsp;&nbsp;pGrid-&gt;OnSelectionChanged();<BR>&nbsp;&nbsp;&nbsp;&nbsp;pItem = pGrid-&gt;GetItem(nIndex);<BR>&nbsp;&nbsp;&nbsp;&nbsp;pItem-&gt;OnSelect();<BR>&nbsp;&nbsp;&nbsp;&nbsp;pItem-&gt;SetFocusToInplaceControl();<BR></pre></td></tr></table></DIV>]]>
   </description>
   <pubDate>Wed, 27 Feb 2008 10:31:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9696&amp;PID=31657&amp;title=select-griditem-from-mainfrm-programmatically#31657</guid>
  </item> 
  <item>
   <title><![CDATA[Select GridItem from mainfrm programmatically : I&amp;#039;m currently attempting...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9696&amp;PID=31570&amp;title=select-griditem-from-mainfrm-programmatically#31570</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3332">andrewg</a><br /><strong>Subject:</strong> 9696<br /><strong>Posted:</strong> 25 February 2008 at 10:07am<br /><br />I'm currently attempting to select a propertygrid Item from the mainfrm and set the cursor in the item so the user doesn't have to move the mouse over and click into it. It's not quite working. The item is being selected but the cursor is not appearing. <br><br><b>MainFrm:</b><br><br><blockquote><i>m_userPropertySheet-&gt;m_propertyGrid.SetFocus();<br>m_userPropertySheet-&gt;OnNew();</i><br></blockquote><br><b>PropertySheet:</b><br><br><blockquote><i>void CPropertySheet::OnNew() {<br>...<br>pItem = m_propertyGrid.GetCategories()-&gt;GetAt(0)-&gt;GetChilds()-&gt;GetAt(0);<br><br>pItem-&gt;Select();<br>pItem-&gt;GetInplaceEdit().SetFocus();<br>...<br>}<br></i></blockquote><br><br>Anyone know how to get this to work?<br><br>]]>
   </description>
   <pubDate>Mon, 25 Feb 2008 10:07:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9696&amp;PID=31570&amp;title=select-griditem-from-mainfrm-programmatically#31570</guid>
  </item> 
 </channel>
</rss>