<?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 : TaskDialog XML problems</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : TaskDialog XML problems]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 14 Jun 2026 19:29:19 +0000</pubDate>
  <lastBuildDate>Mon, 23 Apr 2007 09:15:27 +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=6912</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[TaskDialog XML problems : Hi Oleg,One more problem I have...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6912&amp;PID=22214&amp;title=taskdialog-xml-problems#22214</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2432">scottp</a><br /><strong>Subject:</strong> 6912<br /><strong>Posted:</strong> 23 April 2007 at 9:15am<br /><br />Hi Oleg,<br><br>One more problem I have found. CXTPTaskDialog::CreateFromResource only loads the resources from AfxGetInstanceHandle, and not from AfxGetResourceHandle.<br><br>Could you make a change to allow checking both places for the resource:<br><br><font face="Courier New, Courier, mono">BOOL CXTPTaskDialog::CreateFromResource(UINT nIDResource, LPCTSTR lpszDialog)<br>&nbsp; {<br>&nbsp; USES_CONVERSION;<br><br>&nbsp; LPCTSTR lpszResourceName = MAKEINTRESOURCE(nIDResource);<br><br>&nbsp; HINSTANCE hInst = AfxGetResourceHandle();<br>&nbsp; HRSRC hRsrc = ::FindResource(hInst, lpszResourceName, RT_HTML);<br>&nbsp; if (hRsrc == NULL)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; hInst = AfxGetInstanceHandle();<br>&nbsp;&nbsp;&nbsp; hRsrc = ::FindResource(hInst, lpszResourceName, RT_HTML);<br>&nbsp;&nbsp;&nbsp; if (hRsrc == NULL)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return FALSE;<br>&nbsp;&nbsp;&nbsp; }<br>.....<br><br>And/or allow the resouce HINSTANCE handle to be passed in.<br><br>Thanks<br><br>Scott<br></font><br>]]>
   </description>
   <pubDate>Mon, 23 Apr 2007 09:15:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6912&amp;PID=22214&amp;title=taskdialog-xml-problems#22214</guid>
  </item> 
  <item>
   <title><![CDATA[TaskDialog XML problems : Hi,  You use ID=&amp;#034;2&amp;#034;...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6912&amp;PID=22132&amp;title=taskdialog-xml-problems#22132</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6912<br /><strong>Posted:</strong> 19 April 2007 at 5:57am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>You&nbsp; use <FONT face="Courier New">ID="2" that is IDCANCEL.&nbsp;&nbsp;&nbsp; For custom buttons better use ID from 10.</FONT></DIV><DIV><FONT face="Courier New"></FONT>&nbsp;</DIV><DIV><FONT face="Courier New">It's designed - if there is Cancel button in dialog, </FONT><FONT face=Verdana>AllowCancel&nbsp; parameter will be ignore.</FONT></DIV>]]>
   </description>
   <pubDate>Thu, 19 Apr 2007 05:57:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6912&amp;PID=22132&amp;title=taskdialog-xml-problems#22132</guid>
  </item> 
  <item>
   <title><![CDATA[TaskDialog XML problems : Hi Oleg,Here is the HTML XML resource...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6912&amp;PID=22114&amp;title=taskdialog-xml-problems#22114</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2432">scottp</a><br /><strong>Subject:</strong> 6912<br /><strong>Posted:</strong> 18 April 2007 at 9:28pm<br /><br />Hi Oleg,<br><br>Here is the HTML XML resource I used (subtitute it for one in the sample resources)<br><br>3. This dialog does not parse correctly, I thought it was because I used *Error, but if I modify the WindowTitle, ExpandedInformation, or Explaination to make them shorter then it parses OK.&nbsp; Editing this dialog to make it parse then correctly shows the Error icon. <br><br>4. using this dialog (edited to parse) on Vista in the sample and try toggling the "Use ComCtl32.dll (Vista Only)" option - the Cancel button will appear<br><br><font face="Courier New, Courier, mono">&nbsp; &lt;Dialog Name="Dialog000"&gt;<br>&nbsp;&nbsp;&nbsp; &lt;WindowTitle&gt;AAAAAAAAE License Security Key&lt;/WindowTitle&gt;<br>&nbsp;&nbsp;&nbsp; &lt;MainInstruction Image="*Error"&gt;Error Initialising Security Key&lt;/MainInstruction&gt;<br>&nbsp;&nbsp;&nbsp; &lt;Content&gt;There has been a problem initialising the current Security Key type.&lt;/Content&gt;<br>&nbsp;&nbsp;&nbsp; &lt;ExpandedInformation Footer="True"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Unable to initialise local AAAA Security Key<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ErrorCode: 0 1001<br>&nbsp;&nbsp;&nbsp; &lt;/ExpandedInformation&gt;<br>&nbsp;&nbsp;&nbsp; &lt;Buttons Default="1"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;CommandLink ID="1"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Text&gt;Auto Search&lt;/Text&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Explanation&gt;Allow AAAAAAAAE to search for a valid Security Key connected to your machine or network&lt;/Explanation&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/CommandLink&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;CommandLink ID="2"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Text&gt;Edit Security Key options&lt;/Text&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Explanation&gt;Edit the current Security Key options using the License Manager&lt;/Explanation&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/CommandLink&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/Buttons&gt;<br>&nbsp; &lt;/Dialog&gt;</font><br><br><br><br>]]>
   </description>
   <pubDate>Wed, 18 Apr 2007 21:28:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6912&amp;PID=22114&amp;title=taskdialog-xml-problems#22114</guid>
  </item> 
  <item>
   <title><![CDATA[TaskDialog XML problems : Hi,  4. Actually also can&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6912&amp;PID=22099&amp;title=taskdialog-xml-problems#22099</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6912<br /><strong>Posted:</strong> 18 April 2007 at 9:42am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>4. Actually also can't reproduce. Show code/xml you tried.</DIV>]]>
   </description>
   <pubDate>Wed, 18 Apr 2007 09:42:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6912&amp;PID=22099&amp;title=taskdialog-xml-problems#22099</guid>
  </item> 
  <item>
   <title><![CDATA[TaskDialog XML problems : Hello,  1. Yes, you need to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6912&amp;PID=22097&amp;title=taskdialog-xml-problems#22097</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6912<br /><strong>Posted:</strong> 18 April 2007 at 9:27am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>1. Yes, you need to specify numbers - ID="100" or use &lt;OK/&gt; instead&nbsp; <FONT face="Courier New, Courier, mono">&lt;CommandLink ID="OK&gt;</FONT> </DIV><DIV>2. Thanks, will check</DIV><DIV>3. works for me, please try with our sample.</DIV><DIV>4. Thanks, checking</DIV>]]>
   </description>
   <pubDate>Wed, 18 Apr 2007 09:27:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6912&amp;PID=22097&amp;title=taskdialog-xml-problems#22097</guid>
  </item> 
  <item>
   <title><![CDATA[TaskDialog XML problems : HiI like the new CXTPTaskDialog...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6912&amp;PID=22072&amp;title=taskdialog-xml-problems#22072</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2432">scottp</a><br /><strong>Subject:</strong> 6912<br /><strong>Posted:</strong> 18 April 2007 at 1:26am<br /><br />Hi<br>I like the new CXTPTaskDialog <img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" align="absmiddle"> - but I have found a few problems.<br><br>Using the CreateFromResource for XML created by TDPad has a&nbsp; these <br>problems:<br><ol><li>TDPad creates CommandLink with named button IDs <font face="Courier New, Courier, mono">&lt;CommandLink ID="OK&gt;</font> - this does not work with CXTPTaskDialog</li><li>Not specifying the Dialog Width creates the dialog with a different size when using ComCtl32.dll compared to fully emulated TaskDialog <font face="Courier New, Courier, mono">&lt;Dialog Width="250" Name="Dialog000"&gt;</font></li><li>Using *Error image does not work <font face="Courier New, Courier, mono">&lt;MainInstruction Image="*Error"&gt;</font></li><li>The Dialog property AllowCancel defaults to FALSE when using emulated TaskDialog and defaults to TRUE when using ComCtl32.dll - it should default to FALSE<br></li></ol>hopefully we will get a few fixes in 11.1.1<br><br>Scott<br>]]>
   </description>
   <pubDate>Wed, 18 Apr 2007 01:26:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6912&amp;PID=22072&amp;title=taskdialog-xml-problems#22072</guid>
  </item> 
 </channel>
</rss>