<?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, can it be Modeless?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPTaskDialog, can it be Modeless?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 25 May 2026 04:01:56 +0000</pubDate>
  <lastBuildDate>Thu, 02 Aug 2007 06:00:04 +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=7703</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, can it be Modeless? : Hi,  Add new class   class...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7703&amp;PID=24797&amp;title=cxtptaskdialog-can-it-be-modeless#24797</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7703<br /><strong>Posted:</strong> 02 August 2007 at 6:00am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Add new class </DIV><DIV>&nbsp;</DIV><DIV>class CModelessTaskDialog : public CXTPTaskDialog<BR>{<BR>public:<BR>&nbsp;BOOL Create(CWnd* pParentWnd)<BR>&nbsp;{<BR>&nbsp;&nbsp;if (m_lpDlgTemplate == NULL)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;const int nDlgTemplateSize = sizeof(DLGTEMPLATE) + sizeof(DWORD) * 8;<BR>&nbsp;&nbsp;&nbsp;m_lpDlgTemplate =&nbsp; (DLGTEMPLATE*)malloc(nDlgTemplateSize);<BR>&nbsp;&nbsp;&nbsp;ZeroMemory(m_lpDlgTemplate, nDlgTemplateSize);<BR>&nbsp;&nbsp;}<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;if (!m_lpDlgTemplate)<BR>&nbsp;&nbsp;&nbsp;return FALSE;<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;m_lpDlgTemplate-&gt;style = GetFrameStyle() | WS_VISIBLE;<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;m_lpDlgTemplate-&gt;dwExtendedStyle = m_pConfig-&gt;dwFlags &amp; TDF_RTL_LAYOUT ? WS_EX_LAYOUTRTL : 0;</DIV><DIV>&nbsp;&nbsp;return CreateIndirect(m_lpDlgTemplate, m_pParentWnd = pParentWnd, NULL);</DIV><DIV>&nbsp;};</DIV><DIV>&nbsp;void PostNcDestroy()<BR>&nbsp;{<BR>&nbsp;&nbsp;delete this;<BR>&nbsp;}<BR>};</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>usage:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;CModelessTaskDialog* td = new CModelessTaskDialog();<BR>&nbsp;VERIFY(td-&gt;CreateFromResource(IDR_DIALOGS, lpszName));<BR>&nbsp;td-&gt;Create(this);<BR></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 02 Aug 2007 06:00:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7703&amp;PID=24797&amp;title=cxtptaskdialog-can-it-be-modeless#24797</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTaskDialog, can it be Modeless? : Hi,  How can I make a CXTPTaskDialog...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7703&amp;PID=24779&amp;title=cxtptaskdialog-can-it-be-modeless#24779</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2065">hipopotamo</a><br /><strong>Subject:</strong> 7703<br /><strong>Posted:</strong> 01 August 2007 at 9:04am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>How can I make a CXTPTaskDialog modeless ?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Tkx</DIV>]]>
   </description>
   <pubDate>Wed, 01 Aug 2007 09:04:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7703&amp;PID=24779&amp;title=cxtptaskdialog-can-it-be-modeless#24779</guid>
  </item> 
 </channel>
</rss>