<?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 : CXTPMarkupListBox rendered wrong</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : MarkupLabel Control : CXTPMarkupListBox rendered wrong]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 05:48:48 +0000</pubDate>
  <lastBuildDate>Fri, 28 Sep 2018 02:27:45 +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=23730</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[CXTPMarkupListBox rendered wrong : Problem fixed by setting the &amp;#034;owner...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23730&amp;PID=77047&amp;title=cxtpmarkuplistbox-rendered-wrong#77047</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3268">vjedlicka</a><br /><strong>Subject:</strong> 23730<br /><strong>Posted:</strong> 28 September 2018 at 2:27am<br /><br />Problem fixed by setting the "owner draw" property to "variable"]]>
   </description>
   <pubDate>Fri, 28 Sep 2018 02:27:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23730&amp;PID=77047&amp;title=cxtpmarkuplistbox-rendered-wrong#77047</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPMarkupListBox rendered wrong : I am trying to replace a normal...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23730&amp;PID=77046&amp;title=cxtpmarkuplistbox-rendered-wrong#77046</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3268">vjedlicka</a><br /><strong>Subject:</strong> 23730<br /><strong>Posted:</strong> 27 September 2018 at 4:58am<br /><br /><div>I am trying to replace a normal CListBox with a CXTPMarkupListBox</div><div><br></div><div>I changed the declaration in .h file to&nbsp;</div><div><br></div><div><span style="white-space:pre">	</span>CXTPMarkupListBox m_ctrl_formats;</div><div><br></div><div>Then I fill the listbox using this code:</div><div><br></div><div><span style="white-space:pre">	</span>CString ls_test = _T("&lt;TextBlock Padding='2, 0, 2, 0'&gt;&lt;Bold&gt;Hi&lt;/Bold&gt; &lt;Run Foreground='Green'&gt;there&lt;/Run&gt;&lt;/TextBlock&gt;");</div><div>XTP_MARKUP_LISTITEM* pItem = new XTP_MARKUP_LISTITEM(&amp;m_ctrl_formats);</div><div>pItem-&gt;Resolve(ls_test);</div><div>int li_index = m_ctrl_formats.AddString((LPCTSTR)pItem);</div><div><br></div><div><br></div><div>Here is the result:</div><div><img src="uploads/3268/listbox.png" height="201" width="239" border="0" /><br></div><div><br></div>]]>
   </description>
   <pubDate>Thu, 27 Sep 2018 04:58:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23730&amp;PID=77046&amp;title=cxtpmarkuplistbox-rendered-wrong#77046</guid>
  </item> 
 </channel>
</rss>