<?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 : CXTPTaskDialog markup problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : CXTPTaskDialog markup problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 19:45:58 +0000</pubDate>
  <lastBuildDate>Thu, 17 Feb 2011 08:56:06 +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=17904</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[CXTPTaskDialog markup problem : I managed to find the solution...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17904&amp;PID=62736&amp;title=cxtptaskdialog-markup-problem#62736</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6616">roan98dk</a><br /><strong>Subject:</strong> 17904<br /><strong>Posted:</strong> 17 February 2011 at 8:56am<br /><br /><div style=": rgb255, 255, 255; margin-left: 1px; margin-top: 1px; margin-right: 1px; margin-bottom: 1px; font-family: Verdana, Arial, Helvetica, sans-serif; color: rgb0, 0, 0; font-weight: normal; font-size: 12px; line-height: 1.4; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; -: n&#111;ne; ">I managed to find the solution myself (for now):<div><br></div><div>EnableMessageBoxStyle(BOOL bEnable = TRUE)</div><div><br></div><div>hmm, perhaps I will go for another solution anyway since I suddenly remembered that I also want to keep same framedesign as the main app.</div></div>]]>
   </description>
   <pubDate>Thu, 17 Feb 2011 08:56:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17904&amp;PID=62736&amp;title=cxtptaskdialog-markup-problem#62736</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPTaskDialog markup problem : I am trying to create a simpleCXTPTaskDialog,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17904&amp;PID=62732&amp;title=cxtptaskdialog-markup-problem#62732</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6616">roan98dk</a><br /><strong>Subject:</strong> 17904<br /><strong>Posted:</strong> 17 February 2011 at 7:58am<br /><br /><div><span ="Apple-style-span" style="white-space: pre; "><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; white-space: normal; ">I am trying to create a simple&nbsp;</span></span><span ="Apple-style-span" style="white-space: pre; ">CXTPTaskDialog, but cannot get it to display properly.&nbsp;</span></div><div><span ="Apple-style-span" style="white-space: pre; ">The sample code at the bottom is from the MarkupSample and it works perfectly there:</span></div><div><span ="Apple-style-span" style="white-space: pre; "><br></span></div><div><span ="Apple-style-span" style="white-space: pre; "><img src="uploads/6616/working.png" height="145" width="366" border="0" alt="working" title="working" /><br></span></div><div><span ="Apple-style-span" style="white-space: pre; "><br></span></div><div><span ="Apple-style-span" style="white-space: pre; ">However when I transfer the exact same code to my own app it displays in a different way:</span></div><div><span ="Apple-style-span" style="white-space: pre; "><br></span></div><div><span ="Apple-style-span" style="white-space: pre; "><img src="uploads/6616/notworking.png" height="139" width="366" border="0" alt="notworking" title="notworking" /><br></span></div><div><span ="Apple-style-span" style="white-space: pre; "><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; white-space: normal; "><br></span></span></div><div><span ="Apple-style-span" style="white-space: pre; "><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; white-space: normal; ">The white frame does not appear and "Main Instruction" especially is different (not the same font).&nbsp;</span></span></div><div><span ="Apple-style-span" style="white-space: pre; "><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; white-space: normal; "><br></span></span></div><div><span ="Apple-style-span" style="white-space: pre; "><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; white-space: normal; "><table width="99%"><tr><td><pre class="BBcode"></span></span></div><div><span ="Apple-style-span" style="white-space: pre; ">CXTPTaskDialog td;</span></div><div><span ="Apple-style-span" style="white-space: pre;">td.SetMainInstruction(_T("&lt;TextBlock&gt;Main &lt;Italic ToolTip='Instruction'&gt;Instruction&lt;/Italic&gt;&lt;/TextBlock&gt;"));td.SetContent(_T("&lt;TextBlock&gt;&lt;Run&gt;Content&lt;/Run&gt; &lt;Bold&gt;Contet&lt;/Bold&gt; &lt;Run Foreground='Red'&gt;Content&lt;/Run&gt; &lt;Hyperlink Tag='DoNothing' ToolTip='This is Link'&gt;Link&lt;/Hyperlink&gt;&lt;/TextBlock&gt;"));	td.EnableMarkup();td.DoModal();</span></div><div><span ="Apple-style-span" style="white-space: pre;"><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; white-space: normal; "></pre></td></tr></table></span></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;">The only difference I can think of in the MarkupSample compared to my app is that I use the new Office2010 dlls (from 15.0.1) for the theme and some resize dialogs use&nbsp;CXTPOffice2007FrameHook.</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;">There must be something that I overlooked.</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;"><br></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;">Regards</span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px;">Ronnie</span></div>]]>
   </description>
   <pubDate>Thu, 17 Feb 2011 07:58:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17904&amp;PID=62732&amp;title=cxtptaskdialog-markup-problem#62732</guid>
  </item> 
 </channel>
</rss>