<?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 : CXTPTaskDialog ignoring parent</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPTaskDialog ignoring parent]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 14 Jun 2026 11:29:41 +0000</pubDate>
  <lastBuildDate>Mon, 11 Feb 2008 08:36:25 +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=9544</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[CXTPTaskDialog ignoring parent : Thanks, we added m_pParentWnd...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9544&amp;PID=31035&amp;title=cxtptaskdialog-ignoring-parent#31035</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9544<br /><strong>Posted:</strong> 11 February 2008 at 8:36am<br /><br />Thanks, we added m_pParentWnd = pParentWnd line.]]>
   </description>
   <pubDate>Mon, 11 Feb 2008 08:36:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9544&amp;PID=31035&amp;title=cxtptaskdialog-ignoring-parent#31035</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTaskDialog ignoring parent : ignore that last one about adding...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9544&amp;PID=31006&amp;title=cxtptaskdialog-ignoring-parent#31006</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 9544<br /><strong>Posted:</strong> 09 February 2008 at 4:20pm<br /><br />ignore that last one about adding the member.&nbsp; It derives from CDIalog already.<DIV>&nbsp;</DIV><DIV>I worked around it by setting</DIV><DIV>&nbsp;</DIV><DIV>m_pParentWnd = pParentWnd</DIV><DIV>&nbsp;</DIV><DIV>in the constructor of my derived class.&nbsp; However, the constructor of the CXTPTaskDialogFrame (and parents) should be modified to allow passing the parent pointer up the constructor chain.</DIV>]]>
   </description>
   <pubDate>Sat, 09 Feb 2008 16:20:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9544&amp;PID=31006&amp;title=cxtptaskdialog-ignoring-parent#31006</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTaskDialog ignoring parent : looks like there will need to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9544&amp;PID=31005&amp;title=cxtptaskdialog-ignoring-parent#31005</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 9544<br /><strong>Posted:</strong> 09 February 2008 at 4:15pm<br /><br />looks like there will need to be a m_pParentWnd member added to CXTPTaskDialogFrame to store the pointer from the constructor to be used in DoModal.<DIV>&nbsp;</DIV><DIV>Create allows you to pass in a parent, but I need this dialog to be modal.</DIV>]]>
   </description>
   <pubDate>Sat, 09 Feb 2008 16:15:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9544&amp;PID=31005&amp;title=cxtptaskdialog-ignoring-parent#31005</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTaskDialog ignoring parent : more on this. this is on XP, so...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9544&amp;PID=31004&amp;title=cxtptaskdialog-ignoring-parent#31004</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 9544<br /><strong>Posted:</strong> 09 February 2008 at 4:11pm<br /><br />more on this.&nbsp; this is on XP, so no built-in task dialog.<DIV>&nbsp;</DIV><DIV>Inside CXTPTaskDialogFrame::DoModal(), it calls </DIV><DIV>&nbsp;</DIV><DIV>InitModalIndirect(m_lpDlgTemplate);</DIV><DIV>&nbsp;</DIV><DIV>this is a CDialog call, it should be passing the parent window pointer in here as well.</DIV>]]>
   </description>
   <pubDate>Sat, 09 Feb 2008 16:11:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9544&amp;PID=31004&amp;title=cxtptaskdialog-ignoring-parent#31004</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTaskDialog ignoring parent : Hi    I&amp;#039;ve got an app...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9544&amp;PID=31003&amp;title=cxtptaskdialog-ignoring-parent#31003</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 9544<br /><strong>Posted:</strong> 09 February 2008 at 4:05pm<br /><br />Hi<DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>I've got an app that uses a number of frame windows, each with views in them.&nbsp; One for the main part of the app, and others that are spawned to edit specific content.</DIV><DIV>&nbsp;</DIV><DIV>Whenever a user closes an edit frame, without saving changes, I post a CXTPTaskDialog-derived dialog to warn them about the changes.&nbsp; I set the parent to be the sub-frame, however it always brings that main frame of the app to the front before displaying the dialog, so the frame the user was working in is immediately covered.</DIV><DIV>&nbsp;</DIV><DIV>Using spy++ you can see the parent window for the dialog is the desktop, not the window I specified.&nbsp;&nbsp;The dialog&nbsp;centers itself on the parent, but is not a child of the parent.</DIV>]]>
   </description>
   <pubDate>Sat, 09 Feb 2008 16:05:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9544&amp;PID=31003&amp;title=cxtptaskdialog-ignoring-parent#31003</guid>
  </item> 
 </channel>
</rss>