<?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 : Using ImageManager with taskDialog?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : Using ImageManager with taskDialog?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 11:50:55 +0000</pubDate>
  <lastBuildDate>Tue, 29 Jun 2010 10:51:30 +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=16878</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[Using ImageManager with taskDialog? : Hi,  You only are able to change...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16878&amp;PID=59152&amp;title=using-imagemanager-with-taskdialog#59152</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 16878<br /><strong>Posted:</strong> 29 June 2010 at 10:51am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>You only are able to change MainIcon. If you want to use ImageManager Icons you have to get the handle of the icon&nbsp;and since entire Icons collection have same .Handle you have to extract Icon from ImageManager itself in for example a PictureBox and retrieve handle from PictureBox.Picture. If you are going to use a Picturebox you aren't able to use Alpha images.</DIV><DIV>&nbsp;</DIV><DIV><FONT color=#0000ff>With </FONT>Me.TaskDialog1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>Dim </FONT>stdPic <FONT color=#0000ff>As </FONT><strong>StdPicture</strong><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>Set </FONT>stdPic = ImageManager.Icons.GetImage(100, 16).CreatePicture(xtpImageNormal)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .MainIconHandle = stdPic.Handle</DIV><DIV><FONT color=#0000ff>End With</FONT></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>A while&nbsp;ago I asked Oleg why I couldn't extract icon like this:</DIV><DIV>&nbsp;</DIV><DIV><DIV><FONT color=#0000ff>With </FONT>Me.TaskDialog1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>Dim </FONT>stdPic <FONT color=#0000ff>As&nbsp;</FONT><strong><FONT color=#0000ff>Object</FONT></strong><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>Set </FONT>stdPic = ImageManager.Icons.GetImage(100, 16).CreatePicture(xtpImageNormal)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .MainIconHandle = stdPic</DIV><DIV><FONT color=#0000ff>End With</FONT></DIV></DIV><DIV>&nbsp;</DIV><DIV>He only replied&nbsp;"Do not extract images like this..." </DIV><DIV>&nbsp;</DIV><DIV>Well, try it yourself <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 29 Jun 2010 10:51:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16878&amp;PID=59152&amp;title=using-imagemanager-with-taskdialog#59152</guid>
  </item> 
  <item>
   <title><![CDATA[Using ImageManager with taskDialog? : How can I use imagemanager withTaskDialog...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16878&amp;PID=59108&amp;title=using-imagemanager-with-taskdialog#59108</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6195">Muricy</a><br /><strong>Subject:</strong> 16878<br /><strong>Posted:</strong> 25 June 2010 at 6:50pm<br /><br /><SPAN style="WIDOWS: 2; TEXT-TRANS: n&#111;ne; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium 'Times New Roman'; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horiz&#111;ntal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorati&#111;ns-in-effect: n&#111;ne; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" =Apple-style-span><SPAN style="LINE-HEIGHT: 25px; FONT-FAMILY: arial, sans-serif; FONT-SIZE: 19px" =Apple-style-span><SPAN style="WIDOWS: 2; TEXT-TRANS: n&#111;ne; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium 'Times New Roman'; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horiz&#111;ntal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorati&#111;ns-in-effect: n&#111;ne; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" =Apple-style-span><SPAN style="LINE-HEIGHT: 25px; FONT-FAMILY: arial, sans-serif; FONT-SIZE: 19px" =Apple-style-span><FONT size=2>How can I use imagemanager with&nbsp;TaskDialog to display images on FooterIcon and MainIcon?</FONT></SPAN></SPAN></SPAN></SPAN>]]>
   </description>
   <pubDate>Fri, 25 Jun 2010 18:50:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16878&amp;PID=59108&amp;title=using-imagemanager-with-taskdialog#59108</guid>
  </item> 
 </channel>
</rss>