<?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 MainIconHandle</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : TaskDialog MainIconHandle]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 22 Apr 2026 05:43:27 +0000</pubDate>
  <lastBuildDate>Tue, 05 Feb 2008 00:53:09 +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=9493</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 MainIconHandle : Hi,  Yes, Handle is now obsolete...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9493&amp;PID=30796&amp;title=taskdialog-mainiconhandle#30796</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9493<br /><strong>Posted:</strong> 05 February 2008 at 12:53am<br /><br /><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>Yes, Handle is now obsolete :( See last release notes. </DIV><DIV>try use .NET Image and its Handle.</DIV>]]>
   </description>
   <pubDate>Tue, 05 Feb 2008 00:53:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9493&amp;PID=30796&amp;title=taskdialog-mainiconhandle#30796</guid>
  </item> 
  <item>
   <title><![CDATA[TaskDialog MainIconHandle : I&amp;#039;m having a problem with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9493&amp;PID=30786&amp;title=taskdialog-mainiconhandle#30786</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1401">jpcoffeyXXX</a><br /><strong>Subject:</strong> 9493<br /><strong>Posted:</strong> 04 February 2008 at 5:08pm<br /><br />I'm having a problem with the TaskDialog MainIconHandle.&nbsp; I'm trying toassign a 32 pixel icon to the TaskDialog MainIcon and it will notshow.&nbsp; While I can get the icon to show using the API method providedin the example, I cannot see why CodeJock's own control cannot deliverthe handle.&nbsp; The code I am using is,<br><br><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; <font color="#0000ff">Dim </font>imgIcon As ImageManagerIcon, lngIconHandle As Long<br></font><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; <font color="#0000ff">Dim </font>td as TaskDialog<br></font><br><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; <font color="#0000ff">Set </font>imgIcons = MyForm.cjImageManagerIcons<br>&nbsp;&nbsp;&nbsp; </font><font face="Courier New, Courier, mono"><font color="#0000ff">Set </font></font><font face="Courier New, Courier, mono">imgIcon = imgIcons.Icons.GetImage(ID_TASK_DIALOG_ICON, 32)<br>&nbsp;&nbsp;&nbsp; lngIconHandle = imgIcon.Handle<br>&nbsp;<br>&nbsp;&nbsp;&nbsp; </font><font face="Courier New, Courier, mono"><font color="#0000ff">Set </font></font><font face="Courier New, Courier, mono">td = MyForm.cjTaskDialog<br>&nbsp;&nbsp;&nbsp; <font color="#0000ff">With </font>td<br>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; .MainInstructionText = "CJ image handles do not work."<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .MainIcon = xtpTaskIconCustom<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .MainIconHandle = lngIconHandle<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ShowDialog<br>&nbsp; &nbsp;&nbsp;  <font color="#0000ff">end with</font><br><br>&nbsp;&nbsp;&nbsp; <font color="#0000ff">Set </font>td = Nothing<br></font><font face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; <font color="#0000ff">Set </font>imgIcon = Nothing: <font color="#0000ff">Set </font>imgIcons = Nothing<br></font><br><font face="Courier New, Courier, mono"><font face="Verdana, Arial, Helvetica, sans-serif">Theonly thing showing up on the TaskDialog is the MainInstructionText.&nbsp;The image in the ImageManagerIcons is an XP icon with multiple sizes.&nbsp;Is there something I'm missing?&nbsp; Thanks for your help.<br><br>Sincerely,<br><br>John<br></font>&nbsp;&nbsp;&nbsp; </font>]]>
   </description>
   <pubDate>Mon, 04 Feb 2008 17:08:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9493&amp;PID=30786&amp;title=taskdialog-mainiconhandle#30786</guid>
  </item> 
 </channel>
</rss>