<?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 close</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : TaskDialog close]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 03:31:48 +0000</pubDate>
  <lastBuildDate>Fri, 27 Jun 2008 21:13:36 +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=11219</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 close : Try using the DefaultButton property.Also,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11219&amp;PID=37552&amp;title=taskdialog-close#37552</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2113">ijwelch</a><br /><strong>Subject:</strong> 11219<br /><strong>Posted:</strong> 27 June 2008 at 9:13pm<br /><br />Try using the DefaultButton property.<br><br>Also, you can use the CommonButtons property to determine what standard buttons are available. This can be any combination of these buttons:<br><table ="edItemListTable" cellspacing="0"><t><tr><td ="MemberNameCell" width="30%"><strong>xtpTaskButtonOk</strong></td><td ="Dei&#111;nCell" width="70%">OK Push Button.</td></tr><tr><td ="MemberNameCell" width="30%"><strong>xtpTaskButtonYes</strong></td><td ="Dei&#111;nCell" width="70%">Yes&nbsp;Push Button.</td></tr><tr><td ="MemberNameCell" width="30%"><strong>xtpTaskButtonNo</strong></td><td ="Dei&#111;nCell" width="70%">No&nbsp;Push Button.</td></tr><tr><td ="MemberNameCell" width="30%"><strong>xtpTaskButtonCancel</strong></td><td ="Dei&#111;nCell" width="70%">Cancel&nbsp;Push Button.</td></tr><tr><td ="MemberNameCell" width="30%"><strong>xtpTaskButtonRetry</strong></td><td ="Dei&#111;nCell" width="70%">Retry&nbsp;Push Button.</td></tr><tr><td ="MemberNameCell" width="30%"><strong>xtpTaskButtonClose</strong></td><td ="Dei&#111;nCell" width="70%">Close&nbsp;Push Button.</td></tr></t></table><br>It doesn't look like there's any way to retrieve the IDs of any existing custom buttons.<br>]]>
   </description>
   <pubDate>Fri, 27 Jun 2008 21:13:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11219&amp;PID=37552&amp;title=taskdialog-close#37552</guid>
  </item> 
  <item>
   <title><![CDATA[TaskDialog close : Thanks for the fast reply.This...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11219&amp;PID=37482&amp;title=taskdialog-close#37482</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4225">chrisABC</a><br /><strong>Subject:</strong> 11219<br /><strong>Posted:</strong> 27 June 2008 at 5:44am<br /><br />Thanks for the fast reply.<br>This works but only if I know the ID of a suitable button.<br><br>I am hoping for a general option that can be used in all cases.<br><br>I tried&nbsp;&nbsp; .ClickButton&nbsp; 0<br><br>hoping that this would click the default or first button.&nbsp; But this seems to do nothing for a while, andf then when I close the Dialog I get VB error message "Out of Stack Space".&nbsp; So I stopped trying button zero &lt;grin&gt;<br><br><br><br>So as a workaround, is it possible to obtain the ID of a button from a Dialog that is already shown?<br>]]>
   </description>
   <pubDate>Fri, 27 Jun 2008 05:44:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11219&amp;PID=37482&amp;title=taskdialog-close#37482</guid>
  </item> 
  <item>
   <title><![CDATA[TaskDialog close : Try this:taskDialog.ClickButton...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11219&amp;PID=37456&amp;title=taskdialog-close#37456</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2113">ijwelch</a><br /><strong>Subject:</strong> 11219<br /><strong>Posted:</strong> 26 June 2008 at 8:26pm<br /><br />Try this:<br><br><font color="#003300">taskDialog.ClickButton xtpTaskButtonCancel</font><br><br>The parameter is the ID of the button you want to simulate clicking so change this to whichever button gives the result you want.<br>]]>
   </description>
   <pubDate>Thu, 26 Jun 2008 20:26:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11219&amp;PID=37456&amp;title=taskdialog-close#37456</guid>
  </item> 
  <item>
   <title><![CDATA[TaskDialog close : Using the TaskDialog with VB6,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11219&amp;PID=37452&amp;title=taskdialog-close#37452</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4225">chrisABC</a><br /><strong>Subject:</strong> 11219<br /><strong>Posted:</strong> 26 June 2008 at 7:20pm<br /><br />Using the TaskDialog with VB6, WinXP<br><br>When I click on a hyperlink, the&nbsp;&nbsp; _HyperlinkClicked event is triggered, but the dialog doesn't close.<br><br>How can I get it to close?<br><br>(It closes when a button is clicked).<br><br>]]>
   </description>
   <pubDate>Thu, 26 Jun 2008 19:20:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11219&amp;PID=37452&amp;title=taskdialog-close#37452</guid>
  </item> 
 </channel>
</rss>