<?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 : Problem with Focus when inserting CDialog as Child</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Shortcut Bar : Problem with Focus when inserting CDialog as Child]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 26 Apr 2026 08:21:10 +0000</pubDate>
  <lastBuildDate>Mon, 24 Aug 2015 23:26:55 +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=5249</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[Problem with Focus when inserting CDialog as Child : Thank you for reporting this....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5249&amp;PID=73787&amp;title=problem-with-focus-when-inserting-cdialog-as-child#73787</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8199">astoyan</a><br /><strong>Subject:</strong> 5249<br /><strong>Posted:</strong> 24 August 2015 at 11:26pm<br /><br />Thank you for reporting this. Please try to build and upload a small sample with all dialog insetions you are having issues with and we'll try to debug and fix it or provide a workaround.<div>Regards,</div><div>&nbsp; Alex</div>]]>
   </description>
   <pubDate>Mon, 24 Aug 2015 23:26:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5249&amp;PID=73787&amp;title=problem-with-focus-when-inserting-cdialog-as-child#73787</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with Focus when inserting CDialog as Child :   Hi,I have the same problem,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5249&amp;PID=65983&amp;title=problem-with-focus-when-inserting-cdialog-as-child#65983</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7004">Gianni</a><br /><strong>Subject:</strong> 5249<br /><strong>Posted:</strong> 22 August 2011 at 3:30am<br /><br />Hi,<div>I have the same problem, whth the same "CXTPDialogBase&lt;CXTResizeDlg&gt;".</div><div>The only difference is that I have inserted it in a&nbsp;CView</div>]]>
   </description>
   <pubDate>Mon, 22 Aug 2011 03:30:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5249&amp;PID=65983&amp;title=problem-with-focus-when-inserting-cdialog-as-child#65983</guid>
  </item> 
  <item>
   <title><![CDATA[Problem with Focus when inserting CDialog as Child : Hi Codejock,  I want to insert...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5249&amp;PID=16407&amp;title=problem-with-focus-when-inserting-cdialog-as-child#16407</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1680">Moritz</a><br /><strong>Subject:</strong> 5249<br /><strong>Posted:</strong> 09 October 2006 at 7:37am<br /><br />Hi Codejock,<DIV>&nbsp;</DIV><DIV>I want to insert a CDialog into a CXTPShortcutbarPane. I did the following</DIV><DIV><FONT size=1></FONT>&nbsp;</DIV><DIV><FONT size=1><table width="99%"><tr><td><pre class="BBcode"></FONT></DIV><DIV><FONT face="Courier New, Courier, mono" size=2>BOOL CShortcutPaneStartseite::Create(LPCTSTR lpszCaption, CXTPShortcutBar* pParent)</FONT></DIV><DIV><FONT face="Courier New, Courier, mono" size=2>{</FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono"><FONT color=#0000ff>if</FONT> (!CXTPShortcutBarPane::Create(lpszCaption, pParent))</FONT></FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono"><FONT color=#0000ff>{</FONT></FONT></FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono"><FONT color=#0000ff>&nbsp;&nbsp; return</FONT> FALSE;</FONT></FONT></DIV><DIV><FONT face="Courier New" size=2>}</FONT></DIV><P><FONT face="Courier New, Courier, mono" size=2>VERIFY(m_dlg.Create(IDD_SHORTCUTPANE_STARTSEITE, <FONT color=#0000ff>this</FONT>));</FONT></P><P><FONT face="Courier New, Courier, mono" size=2>SetIndent(0,0,0,0);</FONT></P><P><FONT face="Courier New, Courier, mono" size=2>CXTPShortcutBarPaneItem *pItem = AddItem(<FONT color=#800000>"Test"</FONT>, &amp;m_dlg, 0);</FONT></P><P><FONT face="Courier New, Courier, mono" size=2>pItem-&gt;ShowCaption(FALSE);</FONT></P><P><FONT face="Courier New, Courier, mono" size=2></FONT></P><P><FONT face="Courier New, Courier, mono" size=2>m_dlg.ShowWindow(SW_SHOW);</FONT></P><P><FONT size=2><FONT face="Courier New, Courier, mono"><FONT color=#0000ff>return</FONT> TRUE;</P><DIV></FONT></FONT><FONT face="Courier New, Courier, mono" size=2>}</FONT></DIV><DIV><FONT face="Courier New, Courier, mono" size=2></FONT></DIV><FONT size=1><DIV></pre></td></tr></table></DIV><DIV>&nbsp;</DIV><DIV>My dialog is derived from CXTPDialogBase&lt;CXTResizeDlg&gt;</DIV><DIV>&nbsp;</DIV><DIV>The Pane is create correct and the dialog is displayed, but the focus of an inserted editcontrol isn't lost. If I click into the editbox inside the dialog it is focused. Now if i press TAB nothing happens. </DIV><DIV>&nbsp;</DIV><DIV>I checked your sample ShortcutBar, there none of the inserted controls gets or loses focus. I checked Outlook, where it gets and loses focus. </DIV><DIV>&nbsp;</DIV><DIV>Isn't it implemented or do i have to set some kind of windowstyle like WS_EX_CONTROLPARENT?</DIV><DIV>&nbsp;</DIV><DIV>Also I would like to have some better support for Dialog insertion like with CXTPDockingPane. There focus also doesn't work but insertion is much easier!</DIV><DIV>&nbsp;</DIV><DIV>Thank you for your help!!</FONT></DIV>]]>
   </description>
   <pubDate>Mon, 09 Oct 2006 07:37:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5249&amp;PID=16407&amp;title=problem-with-focus-when-inserting-cdialog-as-child#16407</guid>
  </item> 
 </channel>
</rss>