<?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 : Adding horizental scrollbar to MDI child</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Adding horizental scrollbar to MDI child]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 14:29:43 +0000</pubDate>
  <lastBuildDate>Wed, 03 Nov 2004 10:27:15 +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=1365</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[Adding horizental scrollbar to MDI child : Hi, I have an MDI application...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1365&amp;PID=3827&amp;title=adding-horizental-scrollbar-to-mdi-child#3827</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=747">al1976</a><br /><strong>Subject:</strong> 1365<br /><strong>Posted:</strong> 03 November 2004 at 10:27am<br /><br /><P>Hi,</P><P>I have an MDI application (with view that inherits CRichEditView) and I use Office2003 theme.</P><P>When I open a new document and the text exceeds the <U>vertical </U>boundries the vertical scrollbar</P><P>appears fine. But when I cross the horizental boundries I <U>don't </U>get an horizental scrollbar at all and the text wraps to next line. I'm also using docking panes, and sometimes when I move them the horizen scrollbar sunddenly appears (???).</P><P>I tried to add horizen scrollbar to the View like this:</P><P>BOOL CMDIView::PreCreateWindow(CREATESTRUCT&amp; cs)<BR>{<BR>&nbsp;// TODO: Modify the Window class or styles here by modifying<BR>&nbsp;//&nbsp; the CREATESTRUCT cs WS_HSCROLL</P><P>&nbsp;&nbsp;&nbsp;&nbsp; <A href="file://cs.style" target="_blank">cs.style</A> |=&nbsp; WS_HSCROLL ;</P><P>&nbsp;return CRichEditView::PreCreateWindow(cs);<BR>}<BR></P><P>And it works (horizen scrollbar&nbsp;appears) but it makes the view to be <U>a single line</U>.</P><P>Please let me know how can I add horizen scrollbar.</P><P>Thanks a lot.</P>]]>
   </description>
   <pubDate>Wed, 03 Nov 2004 10:27:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1365&amp;PID=3827&amp;title=adding-horizental-scrollbar-to-mdi-child#3827</guid>
  </item> 
 </channel>
</rss>