<?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 : Markup CRichEditCtrl</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Markup CRichEditCtrl]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 03 Apr 2026 19:52:54 +0000</pubDate>
  <lastBuildDate>Wed, 28 May 2008 07:33:12 +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=10804</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[Markup CRichEditCtrl : Hi, Don&amp;#039;t mix RichEdit and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10804&amp;PID=35908&amp;title=markup-cricheditctrl#35908</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10804<br /><strong>Posted:</strong> 28 May 2008 at 7:33am<br /><br /><P>Hi,</P><DIV>Don't mix RichEdit and Markup. it will work weird. use CStatic as host.</DIV><DIV>&nbsp;</DIV><DIV>1. Sorry, now there is no tag that support it.</DIV><DIV>&nbsp;</DIV><DIV>2. If you add in code call pScrollView-&gt;SetScrollPos(SB_VERT, pos);</DIV><DIV>&nbsp;</DIV><DIV>3. Check Code of our MarkupPad&nbsp; sample.</DIV>]]>
   </description>
   <pubDate>Wed, 28 May 2008 07:33:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10804&amp;PID=35908&amp;title=markup-cricheditctrl#35908</guid>
  </item> 
  <item>
   <title><![CDATA[Markup CRichEditCtrl : I created my MarkupRichEdit control...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10804&amp;PID=35905&amp;title=markup-cricheditctrl#35905</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2152">gorski</a><br /><strong>Subject:</strong> 10804<br /><strong>Posted:</strong> 28 May 2008 at 5:39am<br /><br />I created my MarkupRichEdit control just as you did it with CMarkupStatic in MarkupSample:<br><br>class MarkupRichEdit : public CRichEditCtrl, public CXTPMarkupContext<br>{<br>public:<br>&nbsp;&nbsp;&nbsp; MarkupRichEdit();<br>&nbsp;&nbsp;&nbsp; virtual ~MarkupRichEdit();<br><br>&nbsp;&nbsp;&nbsp; void SetMarkupText(LPCTSTR lpszMarkup);<br><br>protected:<br>&nbsp;&nbsp;&nbsp; DECLARE_MESSAGE_MAP()<br>&nbsp;&nbsp;&nbsp; BOOL OnWndMsg(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pResult);<br>&nbsp;&nbsp;&nbsp; afx_msg void OnPaint();<br><br>&nbsp;&nbsp;&nbsp; CXTPMarkupUIElement* m_pUIElement;<br>};<br><br>It looks fine, but:<br><br>1. I can't select any text in that control. Is there any way to make a selection of the text in any markup control?<br><br>2. When I add something more than control could show, I'd like the control to scroll to the end. How can I force the ScrollViewer to scroll to the end?<br><br>3. Can you give me any hints how to print the content of a markup control? <br><br><br>]]>
   </description>
   <pubDate>Wed, 28 May 2008 05:39:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10804&amp;PID=35905&amp;title=markup-cricheditctrl#35905</guid>
  </item> 
 </channel>
</rss>