<?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 : Tab key</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : Tab key]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 19 Apr 2026 07:14:54 +0000</pubDate>
  <lastBuildDate>Fri, 09 Jan 2004 08:34:44 +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=343</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[Tab key : In PropertyGrid\XTPPropertyGridInplaceEdit.cpp...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=343&amp;PID=762&amp;title=tab-key#762</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=270">Italo</a><br /><strong>Subject:</strong> 343<br /><strong>Posted:</strong> 09 January 2004 at 8:34am<br /><br /><P>In PropertyGrid\XTPPropertyGridInplaceEdit.cpp change line 222 to </P><P>&nbsp;&nbsp;&nbsp; CWnd* pParent = GetAncestor(GA_ROOT);</P><P>&nbsp;&nbsp;&nbsp; and line 233 to </P><P>&nbsp;&nbsp;&nbsp; CWnd* pWndNext = pParent-&gt;GetNextDlgTabItem(m_pGrid, (GetKeyState(VK_SHIFT) &lt; 0));</P><P>&nbsp;</P><P>Add the following function to PropertyGrid\XTPPropertyGridView.cpp</P><P>void CXTPPropertyGridView::_ForwardFocus()<BR>{<BR>&nbsp;&nbsp;&nbsp; CWnd* pRoot = GetAncestor(GA_ROOT);<BR>&nbsp;&nbsp;&nbsp; CWnd* pWndNext = pRoot-&gt;GetNextDlgTabItem(m_pGrid, (GetKeyState(VK_SHIFT) &lt; 0) );<BR>&nbsp;&nbsp;&nbsp; if (pWndNext != NULL)<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pWndNext-&gt;SetFocus();<BR>&nbsp;&nbsp;&nbsp; }<BR>}</P><P>&nbsp;</P><P>Add the folloing lines to CXTPPropertyGridView::OnKeyDown</P><P>&nbsp;&nbsp;&nbsp; if (nChar == VK_TAB &amp;&amp; (!pItem || pItem-&gt;IsCategory()) )<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _ForwardFocus();<BR>&nbsp;&nbsp;&nbsp; }</P>]]>
   </description>
   <pubDate>Fri, 09 Jan 2004 08:34:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=343&amp;PID=762&amp;title=tab-key#762</guid>
  </item> 
  <item>
   <title><![CDATA[Tab key : How can I make the control forward...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=343&amp;PID=760&amp;title=tab-key#760</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=270">Italo</a><br /><strong>Subject:</strong> 343<br /><strong>Posted:</strong> 09 January 2004 at 7:04am<br /><br /><P>How can I make the control forward the tab key to the dialog? I want to move the focus to the next control, when the tab key is pressed.</P><P>Thanks, Italo</P><span style="font-size:10px"><br /><br />Edited by Italo</span>]]>
   </description>
   <pubDate>Fri, 09 Jan 2004 07:04:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=343&amp;PID=760&amp;title=tab-key#760</guid>
  </item> 
 </channel>
</rss>