<?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 : Focus on task panel and not inserted dialog?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Task Panel : Focus on task panel and not inserted dialog?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 08:19:22 +0000</pubDate>
  <lastBuildDate>Thu, 15 May 2008 09:37:30 +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=10635</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[Focus on task panel and not inserted dialog? : I have a task panel that we add...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10635&amp;PID=35239&amp;title=focus-on-task-panel-and-not-inserted-dialog#35239</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 10635<br /><strong>Posted:</strong> 15 May 2008 at 9:37am<br /><br />I have a task panel that we add dialogs to. The dialogs have controls that have accelerator keys assigned to them in the resource file. When I first insert the dialog, all the keys work as expected.<DIV>&nbsp;</DIV><DIV>If I click on the dialog but not on a control, the keys quit working.</DIV><DIV>&nbsp;</DIV><DIV>If I click on a control in the dialog, the keys start working again (until I click on the dialog but not on a control).</DIV><DIV>&nbsp;</DIV><DIV>I have found that when I click on the dialog but not on a control in the dialog, when a keystroke is processed by the frame, the hWnd for the message is the task panel. Hence when walking the pretranslate tree, the dialog is not involved.</DIV><DIV>&nbsp;</DIV><DIV>So it appears the task panel has taken focus when I click on a dialog inserted into the task panel.</DIV><DIV>&nbsp;</DIV><DIV>Why does the task panel become the target for the key strokes and how can I prevent this from happening, or how can I&nbsp;get the taskpanel to route the key events back to the dialog?</DIV>]]>
   </description>
   <pubDate>Thu, 15 May 2008 09:37:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10635&amp;PID=35239&amp;title=focus-on-task-panel-and-not-inserted-dialog#35239</guid>
  </item> 
 </channel>
</rss>