<?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 built-in Question icon is missing!</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : TaskDialog built-in Question icon is missing!]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 07:36:26 +0000</pubDate>
  <lastBuildDate>Wed, 22 Sep 2010 07:43:39 +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=17275</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 built-in Question icon is missing! :   SuperMario wrote:On a side...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17275&amp;PID=60406&amp;title=taskdialog-builtin-question-icon-is-missing#60406</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4669">gibra</a><br /><strong>Subject:</strong> 17275<br /><strong>Posted:</strong> 22 September 2010 at 7:43am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by SuperMario" alt="Originally posted by SuperMario" style="vertical-align: text-bottom;" /> <strong>SuperMario wrote:</strong><br /><br />On a side note, we added this for 13.4.1<BR>&nbsp;<img src="uploads/369/help.png" height="426" width="387" border="0" /><BR><BR><BR></td></tr></table> <DIV>&nbsp;</DIV><DIV>Great!!! <img src="http://forum.codejock.com/smileys/smiley32.gif" height="17" width="18" border="0" alt="Clap" title="Clap" /></DIV><DIV>You understand my point-of-view. <img src="http://forum.codejock.com/smileys/smiley1.gif" height="17" width="17" border="0" alt="Smile" title="Smile" /></DIV><DIV>&nbsp;</DIV><DIV>Now, I don't know it's possible, but <U>should be also good</U> if the '<strong>custom icon</strong>' can be loaded icon from ImageManager, not only from file (as currently).&nbsp; <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" /></DIV><DIV>In this way: </DIV><DIV>1. I'm&nbsp;not forced to deploy additional icons files to use as custom icon.</DIV><DIV>2. the custom icon appear in correct position, on the left&nbsp;of <strong>Main</strong> text.</DIV><DIV>&nbsp;</DIV><DIV>Actually, the icon loaded with Image Source of XAML &lt;Hyperlink&gt;&nbsp;tag or HTML &lt;A&gt; tag&nbsp;:&nbsp;&nbsp;<U>&lt;Image Source='100'/&gt;</U> </DIV><DIV>appear always on the left of <strong>Content</strong> text, not to the left&nbsp;of <strong>Main</strong> text when use built-in icons.</DIV><DIV>&nbsp;</DIV><DIV>Thank again.</DIV><DIV><img src="http://forum.codejock.com/smileys/smiley1.gif" height="17" width="17" border="0" alt="Smile" title="Smile" /></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 22 Sep 2010 07:43:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17275&amp;PID=60406&amp;title=taskdialog-builtin-question-icon-is-missing#60406</guid>
  </item> 
  <item>
   <title><![CDATA[TaskDialog built-in Question icon is missing! : On a side note, we added this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17275&amp;PID=60322&amp;title=taskdialog-builtin-question-icon-is-missing#60322</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 17275<br /><strong>Posted:</strong> 20 September 2010 at 2:15pm<br /><br />On a side note, we added this for 13.4.1<br>&nbsp;<img src="uploads/369/help.png" height="426" width="387" border="0" /><br><br><br>]]>
   </description>
   <pubDate>Mon, 20 Sep 2010 14:15:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17275&amp;PID=60322&amp;title=taskdialog-builtin-question-icon-is-missing#60322</guid>
  </item> 
  <item>
   <title><![CDATA[TaskDialog built-in Question icon is missing! :   Aaron wrote: Both Icon and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17275&amp;PID=60320&amp;title=taskdialog-builtin-question-icon-is-missing#60320</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4669">gibra</a><br /><strong>Subject:</strong> 17275<br /><strong>Posted:</strong> 20 September 2010 at 12:14pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Aaron" alt="Originally posted by Aaron" style="vertical-align: text-bottom;" /> <strong>Aaron wrote:</strong><br /><br /><DIV>Both Icon and Text will be aligned at the top.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </DIV></td></tr></table> <DIV>&nbsp;</DIV><DIV>Thank for reply.</DIV><DIV>Another tricks to add&nbsp;into my code. <img src="http://forum.codejock.com/smileys/smiley1.gif" height="17" width="17" border="0" alt="Smile" title="Smile" /></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 20 Sep 2010 12:14:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17275&amp;PID=60320&amp;title=taskdialog-builtin-question-icon-is-missing#60320</guid>
  </item> 
  <item>
   <title><![CDATA[TaskDialog built-in Question icon is missing! : Hi,  Use StackPanel to position...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17275&amp;PID=60302&amp;title=taskdialog-builtin-question-icon-is-missing#60302</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17275<br /><strong>Posted:</strong> 19 September 2010 at 4:40am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Use StackPanel to position Text &amp; Icon seperately, something like this:</DIV><DIV>&nbsp;</DIV><DIV>.ContentText = "&lt;StackPanel Orientation='Horizontal'&gt;&lt;Image Source='100'/&gt;&lt;TextBlock&gt;A TaskDialog presents....&lt;/TextBlock&gt;&lt;/StackPanel&gt;"</DIV><DIV>&nbsp;</DIV><DIV>Both Icon and Text will be aligned at the top.</DIV><DIV>&nbsp;</DIV><DIV><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </DIV>]]>
   </description>
   <pubDate>Sun, 19 Sep 2010 04:40:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17275&amp;PID=60302&amp;title=taskdialog-builtin-question-icon-is-missing#60302</guid>
  </item> 
  <item>
   <title><![CDATA[TaskDialog built-in Question icon is missing! :   jpbro wrote:When using Markup,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17275&amp;PID=60301&amp;title=taskdialog-builtin-question-icon-is-missing#60301</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4669">gibra</a><br /><strong>Subject:</strong> 17275<br /><strong>Posted:</strong> 19 September 2010 at 4:12am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by jpbro" alt="Originally posted by jpbro" style="vertical-align: text-bottom;" /> <strong>jpbro wrote:</strong><br /><br />When using Markup, you need to use the XAML &lt;Hyperlink&gt; tag instead of the HTML &lt;A&gt; tag.</td></tr></table> <DIV>&nbsp;</DIV><DIV>This work good.</DIV><DIV>&nbsp;</DIV><DIV>To&nbsp;apply your suggestion in <strong>VistaTaskDialog</strong> sample here the code</DIV><DIV>&nbsp;</DIV><DIV><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;<FONT color=#006600>' replace &lt;A&gt; tag wiht &lt;Hyperlink&gt; tag in editContent.text control:</FONT><BR>&nbsp;&nbsp;Dim newContentText As String<BR>&nbsp;&nbsp;newContentText = Replace(editContent.text, "&lt;A HREF", "&lt;Hyperlink Click")<BR>&nbsp;&nbsp;newContentText = Replace(newContentText, "&lt;/A&gt;", "&lt;/Hyperlink&gt;")<BR>&nbsp;&nbsp;taskDialog.ContentText = "&lt;TextBlock&gt;&lt;Image Source='100'/&gt;" &amp; newContentText &amp; "&lt;/TextBlock&gt;"</FONT><BR></DIV><DIV><img src="http://forum.codejock.com/uploads/4669/tskdlg004.png" height="211" width="439" border="0" /></DIV><DIV>&nbsp;</DIV><DIV>The result isn't perfect (icon position is different from built-in icons of TaskDialog control), however it's a good way to use a custom icon&nbsp;from ImageManager, not from disk.</DIV><DIV>&nbsp;</DIV><DIV>As you say, will hope that Codejock add support for <strong>NavigateUri</strong> attribute to allows us fo manage URL parameter of HyperlinkClicked event.</DIV><DIV>So i'm not foced to use a MarkupContext object.</DIV><DIV>&nbsp;</DIV><DIV><DIV>Thank! <img src="http://forum.codejock.com/smileys/smiley1.gif" height="17" width="17" border="0" alt="Smile" title="Smile" /></DIV></DIV>]]>
   </description>
   <pubDate>Sun, 19 Sep 2010 04:12:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17275&amp;PID=60301&amp;title=taskdialog-builtin-question-icon-is-missing#60301</guid>
  </item> 
  <item>
   <title><![CDATA[TaskDialog built-in Question icon is missing! : When using Markup, you need to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17275&amp;PID=60298&amp;title=taskdialog-builtin-question-icon-is-missing#60298</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 17275<br /><strong>Posted:</strong> 18 September 2010 at 9:19pm<br /><br />When using Markup, you need to use the XAML &lt;Hyperlink&gt; tag instead of the HTML &lt;A&gt; tag.<br><br>There are some issues though. When a user clicks a XAML Hyperlink, the TaskDialog HyperlinkClicked event will be raised, but the URL property will be empty. This means that you can apparently have only 1 hyperlink per TaskDialog message, because there is no way to differentiate between them (or at least, I haven't figured out how to).<br><br>Only CodeJock can solve this (by supporting the NavigateUri attribute of the Hyperlink tag, which they don't at this point, and passing that to the URL property of the HyperlinkClicked event), or by adding a MarkupContext object with AddHandler methods to the TaskDialog control (like the MarkupLabel and ReportControl have - this would allow us to perform our own link click handling). <br><br>However, if you only need 1 hyperlink per message, then just wrap it in &lt;Hyperlink&gt;&lt;/Hyperlink&gt; tags and perform whatever action you require in the HyperlinkClicked event.<br><br>]]>
   </description>
   <pubDate>Sat, 18 Sep 2010 21:19:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17275&amp;PID=60298&amp;title=taskdialog-builtin-question-icon-is-missing#60298</guid>
  </item> 
  <item>
   <title><![CDATA[TaskDialog built-in Question icon is missing! :   jpbro wrote:Microsoft changed...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17275&amp;PID=60296&amp;title=taskdialog-builtin-question-icon-is-missing#60296</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4669">gibra</a><br /><strong>Subject:</strong> 17275<br /><strong>Posted:</strong> 18 September 2010 at 5:53pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by jpbro" alt="Originally posted by jpbro" style="vertical-align: text-bottom;" /> <strong>jpbro wrote:</strong><br /><br />Microsoft changed their UI guidelines, and no longer recommend the use of the question mark icon (that's why it is missing). See:<BR><BR><a href="http://msdn.microsoft.com/en-us/library/aa511277.aspx#questi&#111;ngl" target="_blank">http://msdn.microsoft.com/en-us/library/aa511277.aspx#questiongl</A><BR></td></tr></table> <DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Then, my problem isn't a problem. <img src="http://forum.codejock.com/smileys/smiley36.gif" height="17" width="17" border="0" alt="LOL" title="LOL" /></DIV><DIV>&nbsp;</DIV><DIV>Thank for this information.</DIV>]]>
   </description>
   <pubDate>Sat, 18 Sep 2010 17:53:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17275&amp;PID=60296&amp;title=taskdialog-builtin-question-icon-is-missing#60296</guid>
  </item> 
  <item>
   <title><![CDATA[TaskDialog built-in Question icon is missing! : Thank for your help, Aaron.  I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17275&amp;PID=60295&amp;title=taskdialog-builtin-question-icon-is-missing#60295</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4669">gibra</a><br /><strong>Subject:</strong> 17275<br /><strong>Posted:</strong> 18 September 2010 at 5:47pm<br /><br />Thank for your help, Aaron.<DIV>&nbsp;</DIV><DIV>I have try your suggestion, unfortunately doesn't work correctly if I use <strong>EnableHyperlinks</strong>.</DIV><DIV>&nbsp;</DIV><DIV>Example:</DIV><DIV>1. Open the <strong>Vista TaskDialog</strong> sample VB6.0 project of Codejock SuitePro (13.4.0)</DIV><DIV>2. Open <strong>frmMain</strong>,&nbsp;on&nbsp;<FONT color=#0000ff>General</FONT> tab note that the <FONT color=#0000ff>Content </FONT>textbox (editContent) contains this value:</DIV><DIV>"A TaskDialog presents &lt;A HREF="executablestring 1"&gt;Hyperlink Text&lt;/A&gt; information in a clear and consistent way."</DIV><DIV>&nbsp;</DIV><DIV>The dialog display as below:</DIV><DIV><img src="http://forum.codejock.com/uploads/4669/tskdlg001.png" height="203" width="366" border="0" /><BR></DIV><DIV>&nbsp;</DIV><DIV>Now, in this project :</DIV><DIV>3. add&nbsp;the component&nbsp;<FONT color=#0000ff>CommandBars</FONT><FONT color=#000000> to the project</FONT></DIV><DIV>4. add <FONT color=#0000ff>ImageManager1</FONT> control to <strong>frmMain</strong></DIV><DIV>5. add a <U>question</U> icon (32x32)&nbsp;to ImageManager1, with ID=100</DIV><DIV>&nbsp;</DIV><DIV>If I use a simple plain text, as this:</DIV><DIV><FONT face="Courier New, Courier, mono">taskDialog.ContentText = "&lt;TextBlock&gt;&lt;Image Source='100'/&gt;This is a sample text&lt;/TextBlock&gt;"</FONT></DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif">the result is good:</FONT></DIV><DIV><img src="http://forum.codejock.com/uploads/4669/tskdlg000.png" height="211" width="366" border="0" /></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Now, I try to set the <FONT color=#0000ff>ContentText</FONT> property to&nbsp;add custom icon&nbsp;to <U>existing ContentText value</U>:</DIV><DIV><FONT face="Courier New, Courier, mono">taskDialog.ContentText = "&lt;TextBlock&gt;&lt;Image Source='100'/&gt;&lt;/TextBlock&gt;" &amp; editContent.text</FONT></DIV><DIV>&nbsp;</DIV><DIV>the wrong result is show below:</DIV><DIV><img src="http://forum.codejock.com/uploads/4669/tskdlg002.png" height="203" width="366" border="0" /></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Then, I have try to insert the editContent value into TextBlock:</DIV><DIV><FONT face="Courier New, Courier, mono">taskDialog.ContentText = "&lt;TextBlock&gt;&lt;Image Source='100'/&gt;" &amp; editContent.text &amp; "&lt;/TextBlock&gt;"</FONT></DIV><DIV>&nbsp;</DIV><DIV>again, the wrong result is:</DIV><DIV><img src="http://forum.codejock.com/uploads/4669/tskdlg003.png" height="203" width="366" border="0" /></DIV><DIV>&nbsp;</DIV><DIV>What's wrong?</DIV><DIV>How I can to solve this problem?</DIV><DIV>&nbsp;</DIV><DIV>Thank. </DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 18 Sep 2010 17:47:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17275&amp;PID=60295&amp;title=taskdialog-builtin-question-icon-is-missing#60295</guid>
  </item> 
  <item>
   <title><![CDATA[TaskDialog built-in Question icon is missing! : Microsoft changed their UI guidelines,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17275&amp;PID=60294&amp;title=taskdialog-builtin-question-icon-is-missing#60294</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 17275<br /><strong>Posted:</strong> 18 September 2010 at 5:02pm<br /><br />Microsoft changed their UI guidelines, and no longer recommend the use of the question mark icon (that's why it is missing). See:<br><br><a href="http://msdn.microsoft.com/en-us/library/aa511277.aspx#questi&#111;ngl" target="_blank">http://msdn.microsoft.com/en-us/library/aa511277.aspx#questiongl</a><br><br>Excerpt:<br><br><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Quote" alt="Quote" style="vertical-align: text-bottom;" /> <br><h3>Question mark icons</h3><ul><li><strong>Use the question mark icon only for Help entry points.</strong> For more information, see the <a href="http://msdn.microsoft.com/en-us/library/aa511449.aspx#guidelines" target="_blank">Help entry point</a> guidelines.</li><li><strong>Don't use the question mark icon to ask questions.</strong> Again, use the question mark icon only for Help entry points. There is no need to ask questions using the question mark icon anyway—it's sufficient to present a main instruction as a question.</li><li><strong>Don't routinely replace question mark icons with warning icons.</strong> Replace a question mark icon with a warning icon only if the question has significant consequences. Otherwise, use no icon.</li></ul><br></td></tr></table><br>]]>
   </description>
   <pubDate>Sat, 18 Sep 2010 17:02:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17275&amp;PID=60294&amp;title=taskdialog-builtin-question-icon-is-missing#60294</guid>
  </item> 
  <item>
   <title><![CDATA[TaskDialog built-in Question icon is missing! : Hi,   You could use Markup to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17275&amp;PID=60293&amp;title=taskdialog-builtin-question-icon-is-missing#60293</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17275<br /><strong>Posted:</strong> 18 September 2010 at 3:35pm<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>You could use Markup to accomplish this <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" /></DIV><DIV>&nbsp;</DIV><DIV>The images in TaskDialog are images of an ImageManager.</DIV><DIV>The necessary code is also an image from ImageManager (just copy / paste code into textbox and saved it as image, just in case you are wondering the many different colors of the characters <img src="http://forum.codejock.com/smileys/smiley17.gif" height="17" width="17" border="0" alt="T&#111;ngue" title="T&#111;ngue" />)</DIV><DIV>&nbsp;</DIV><DIV><img src="http://forum.codejock.com/uploads/3701/TaskDialogMarkup.bmp" height="222" width="657" border="0" /></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Just add your HELP icon (with same ID as Source=' ') to an ImageManager and</DIV><DIV>&nbsp;</DIV><DIV><EM>add following code:</EM></DIV><DIV><strong></strong>&nbsp;</DIV><DIV><strong>XtremeSuiteControls.Icons.AddIcons Me.ImageManager1.Icons<BR></strong>&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; With TaskDialog1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .EnableMarkup = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ContentText = "&lt;TextBlock&gt;&lt;Image Source='1'/&gt;&lt;/TextBlock&gt;"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ShowDialog<BR>&nbsp;&nbsp;&nbsp; End With</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 18 Sep 2010 15:35:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17275&amp;PID=60293&amp;title=taskdialog-builtin-question-icon-is-missing#60293</guid>
  </item> 
 </channel>
</rss>