<?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 : CEditPane not refreshing</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Syntax Edit : CEditPane not refreshing]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 23 May 2026 02:59:17 +0000</pubDate>
  <lastBuildDate>Mon, 15 Aug 2011 12:02:50 +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=18827</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[CEditPane not refreshing :   I have this class: class...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18827&amp;PID=65921&amp;title=ceditpane-not-refreshing#65921</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3365">madriceg</a><br /><strong>Subject:</strong> 18827<br /><strong>Posted:</strong> 15 August 2011 at 12:02pm<br /><br /><DIV></DIV><DIV></DIV><FONT color=#0000ff size=2><FONT color=#0000ff size=2><DIV>I have this class:</DIV><DIV>class</FONT></FONT><FONT size=2> CEditPane : </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>public</FONT></FONT><FONT size=2> CXTPEdit</DIV><P>{</P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>public</FONT></FONT><FONT size=2>:</P><P>CEditPane();</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>void</FONT></FONT><FONT size=2> AddMessage(CString strMessage);</P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>protected</FONT></FONT><FONT size=2>:</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>virtual</FONT></FONT><FONT size=2> LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);</P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2><P>public</FONT></FONT><FONT size=2>:</P><P>afx_msg HBRUSH CtlColor(CDC* </FONT><FONT color=#008000 size=2><FONT color=#008000 size=2>/*pDC*/</FONT></FONT><FONT size=2>, UINT </FONT><FONT color=#008000 size=2><FONT color=#008000 size=2>/*nCtlColor*/</FONT></FONT><FONT size=2>);</P><P></FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>void</FONT></FONT><FONT size=2> OnSize(UINT nType, </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>int</FONT></FONT><FONT size=2> cx, </FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>int</FONT></FONT><FONT size=2> cy);</P><P>DECLARE_MESSAGE_MAP()</P><P>};</P><DIV></DIV><DIV></DIV><DIV>the edit pane gets filled correctly when first loaded and if the text is too long scroll bars are added.</DIV><DIV>&nbsp;</DIV><DIV>Now here is the problem: When I use the vertical scroll bar to scroll up, the text that is not in view comes back into view like it has the previous text on top of it.</DIV><DIV>&nbsp;</DIV><DIV>Now if I minimize the screen and then show it again, the text comes back clear&nbsp;but the scroll bar is missing until I click where it should be. And if I scroll again, then the text is messed up again.</DIV><DIV>&nbsp;</DIV><DIV>Can anyone help?</DIV></FONT>]]>
   </description>
   <pubDate>Mon, 15 Aug 2011 12:02:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18827&amp;PID=65921&amp;title=ceditpane-not-refreshing#65921</guid>
  </item> 
 </channel>
</rss>