<?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 : Changing border style of attached view</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Changing border style of attached view]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 20:52:25 +0000</pubDate>
  <lastBuildDate>Sun, 06 Feb 2005 21:00:22 +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=1758</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[Changing border style of attached view : I am attaching a CTreeView derived...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1758&amp;PID=5010&amp;title=changing-border-style-of-attached-view#5010</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=975">zarchaoz</a><br /><strong>Subject:</strong> 1758<br /><strong>Posted:</strong> 06 February 2005 at 9:00pm<br /><br />I am attaching a CTreeView derived class to a CXTPDockingPane. That isOK, but when the view is displayed in the docking pane it has WS_BORDERstyle. I want to change the border style to be like the examples withthe CTreeCtrl and with WS_EX_STATICEDGE. (I does not want a deep border)<br><br>The code bellow does not work:<br><br><table width="99%"><tr><td><pre class="BBcode"><br><span style="font-family: courier new,courier,mono;">BOOL CDerivedTreeView::PreCreateWindow(CREATESTRUCT&amp; cs) </span><br style="font-family: courier new,courier,mono;"><span style="font-family: courier new,courier,mono;">{</span><br style="font-family: courier new,courier,mono;"><span style="font-family: courier new,courier,mono;">&nbsp;&nbsp;&nbsp; cs.style ^= WS_BORDER;</span><br style="font-family: courier new,courier,mono;"><span style="font-family: courier new,courier,mono;">&nbsp;&nbsp;&nbsp; cs.style |= TVS_HASLINES | TVS_LINESATROOT | TVS_HASBUTTONS | TVS_SHOWSELALWAYS;</span><br style="font-family: courier new,courier,mono;"><span style="font-family: courier new,courier,mono;">&nbsp;&nbsp;&nbsp; cs.dwExStyle |= WS_EX_STATICEDGE;</span><br style="font-family: courier new,courier,mono;"><br style="font-family: courier new,courier,mono;"><span style="font-family: courier new,courier,mono;">&nbsp;&nbsp;&nbsp; return CTreeView::PreCreateWindow(cs);</span><br style="font-family: courier new,courier,mono;"><span style="font-family: courier new,courier,mono;">}</span><br style="font-family: courier new,courier,mono;"></pre></td></tr></table><br><br>Please, help me to resolve this?<br>]]>
   </description>
   <pubDate>Sun, 06 Feb 2005 21:00:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1758&amp;PID=5010&amp;title=changing-border-style-of-attached-view#5010</guid>
  </item> 
 </channel>
</rss>