<?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</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : CXTPTaskDialog]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 03:51:07 +0000</pubDate>
  <lastBuildDate>Wed, 11 Aug 2010 08:19:07 +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=17077</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 : HelloI changed code as following void...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17077&amp;PID=59744&amp;title=cxtptaskdialog#59744</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3301">Michl</a><br /><strong>Subject:</strong> 17077<br /><strong>Posted:</strong> 11 August 2010 at 8:19am<br /><br />Hello<br><br>I changed code as following<br><table width="99%"><tr><td><pre class="BBcode"><br>void CINSSoftwareUpdateDlg::OnDialogConstructed()<br>{<br>&nbsp;&nbsp;&nbsp; //SubclassWindow( m_hwndTaskDialog );<br>&nbsp;&nbsp;&nbsp; XTPHookManager()-&gt;SetHook(m_hwndTaskDialog, this);<br>&nbsp;&nbsp; .<br>&nbsp;&nbsp; .<br>&nbsp;&nbsp; .<br></pre></td></tr></table><br><br>and insert the hook callback. So I can also access my private messages and works. Good idea.<br><br>However, think still about support subclassing!<br><br>First, code is more transparent. Now I have to change several things (it's only allowed native api calls, no message map support, ...)<br>Second, I can't validate in parent if dialog was created successfully. GetSafeHwnd() is now always NULL and m_hwndTaskDialog is protected.<br><br>]]>
   </description>
   <pubDate>Wed, 11 Aug 2010 08:19:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17077&amp;PID=59744&amp;title=cxtptaskdialog#59744</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTaskDialog : Try instead of subclassing use...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17077&amp;PID=59733&amp;title=cxtptaskdialog#59733</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17077<br /><strong>Posted:</strong> 11 August 2010 at 3:40am<br /><br />Try instead of subclassing use our Hooking:<br /><br />XTPHookManager()-&gt;SetHook(hwnd, pThis);<br /><br /><br />int CMy::OnHookMessage(HWND hWnd, UINT nMessage, WPARAM& wParam, LPARAM& lParam, LRESULT& /*lResult*/)<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (nMessage == WM_...)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return FALSE;<br />}<br />]]>
   </description>
   <pubDate>Wed, 11 Aug 2010 03:40:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17077&amp;PID=59733&amp;title=cxtptaskdialog#59733</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTaskDialog : Can anybody confirm this problem? ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17077&amp;PID=59728&amp;title=cxtptaskdialog#59728</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3301">Michl</a><br /><strong>Subject:</strong> 17077<br /><strong>Posted:</strong> 11 August 2010 at 2:49am<br /><br />Can anybody confirm this problem?]]>
   </description>
   <pubDate>Wed, 11 Aug 2010 02:49:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17077&amp;PID=59728&amp;title=cxtptaskdialog#59728</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTaskDialog :  Hello codejock developers!This...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17077&amp;PID=59654&amp;title=cxtptaskdialog#59654</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3301">Michl</a><br /><strong>Subject:</strong> 17077<br /><strong>Posted:</strong> 06 August 2010 at 7:10am<br /><br />Hello codejock developers!<br><br>This window/dialog is not subclassable when it uses system dialog!<br><br>I derived this class and start a thread for doing a long process. My thread sends progress information back to task dialog which updates his progress bar.<br>This works fine if codejock draws the task dialog itself (no vista/win7 or DoModal(false)).<br><br>But if codejock uses system dialog, I must subclass the system dialog for receiving my messages throw WndProc (message handlers). This works fine, too.<br>(it would be nice when codejock automatically attach the system dialog, so the class CDialog has an valid hWnd for calling methods such as GetSafeHwnd)<br><br><br>However, now you cannot call e.g. SetContent(...) anymore! Because the class thinks it is in simulation mode and response on TDM_SET_ELEMENT_TEXT. At end it calls RecalcLayout which resizes the window to minimal size.<br>(it should only response in simulation mode!)<br><br>I think the solution is, that the class should remember if it uses system dialog and don't process code in callbacks when it not in simulation mode...<br><br>Is this possible to realize?? If yes, please realize it as fast as possible!<br><br>Thanks<br>]]>
   </description>
   <pubDate>Fri, 06 Aug 2010 07:10:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17077&amp;PID=59654&amp;title=cxtptaskdialog#59654</guid>
  </item> 
 </channel>
</rss>