<?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 : No client edge in CView</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : No client edge in CView]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 06 Apr 2026 07:30:56 +0000</pubDate>
  <lastBuildDate>Wed, 31 May 2006 07:18:47 +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=3792</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[No client edge in CView : We were moving the ShortcutBar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3792&amp;PID=13252&amp;title=no-client-edge-in-cview#13252</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1818">Andreas Bergmei</a><br /><strong>Subject:</strong> 3792<br /><strong>Posted:</strong> 31 May 2006 at 7:18am<br /><br />We were moving the ShortcutBar to full size in OnDraw. Seems like when disabling the border we get a wrong ClientSize in OnDraw (somehow).<br>We cleared the OnDraw and are now maximizing the ShortcutBar in OnInitialUpdate and OnSize only which seems to work just fine (and should be faster anyhow).<br>]]>
   </description>
   <pubDate>Wed, 31 May 2006 07:18:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3792&amp;PID=13252&amp;title=no-client-edge-in-cview#13252</guid>
  </item> 
  <item>
   <title><![CDATA[No client edge in CView : Ok, let&amp;#039;s put it another...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3792&amp;PID=13111&amp;title=no-client-edge-in-cview#13111</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1818">Andreas Bergmei</a><br /><strong>Subject:</strong> 3792<br /><strong>Posted:</strong> 24 May 2006 at 10:40am<br /><br />Ok, let's put it another way.<br>What if I set NO window style on creation of my view (embedding ShortcutBar). Then I have the same problem.<br>Basicly my question is why the ShortcutBar resizes wrong (maximizing a window, initial creation of window), when I have no WS_EX_CLIENTEDGE defined? Does it need some specific messages to handle the resize right or what does this depend on?<br>]]>
   </description>
   <pubDate>Wed, 24 May 2006 10:40:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3792&amp;PID=13111&amp;title=no-client-edge-in-cview#13111</guid>
  </item> 
  <item>
   <title><![CDATA[No client edge in CView : One way to do this would be to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3792&amp;PID=11636&amp;title=no-client-edge-in-cview#11636</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1">kstowell</a><br /><strong>Subject:</strong> 3792<br /><strong>Posted:</strong> 22 March 2006 at 2:34pm<br /><br />One way to do this would be to override WM_NCPAINT and draw the border yourself instead of removing the window style, for example:<br /><br /><table width="99%"><tr><td><pre class="BBcode">void CYourView::OnNcPaint() <br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;CWindowDC dc(this);<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;// convert to client coordinates<br />&nbsp;&nbsp;&nbsp;&nbsp;CRect rWindow;<br />&nbsp;&nbsp;&nbsp;&nbsp;GetWindowRect(&rWindow);<br />&nbsp;&nbsp;&nbsp;&nbsp;ScreenToClient(rWindow);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;int iWidth = -rWindow.top;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;rWindow.OffsetRect(-rWindow.left, -rWindow.top);<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;// draw 1px. border.<br />&nbsp;&nbsp;&nbsp;&nbsp;dc.Draw3dRect(&rWindow, ::GetSysColor(COLOR_3DSHADOW),<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ::GetSysColor(COLOR_3DSHADOW));<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;if (iWidth &gt; 1)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rWindow.DeflateRect(1,1);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dc.Draw3dRect(&rWindow, ::GetSysColor(COLOR_WINDOW),<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;::GetSysColor(COLOR_WINDOW)); <br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}</pre></td></tr></table><br /><br />Regards,<br />Codejock Support<br />]]>
   </description>
   <pubDate>Wed, 22 Mar 2006 14:34:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3792&amp;PID=11636&amp;title=no-client-edge-in-cview#11636</guid>
  </item> 
  <item>
   <title><![CDATA[No client edge in CView : When I&amp;#039;m adding ModifyStyleEx(WS_EX_CLIENTEDGE,0,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3792&amp;PID=11461&amp;title=no-client-edge-in-cview#11461</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1818">Andreas Bergmei</a><br /><strong>Subject:</strong> 3792<br /><strong>Posted:</strong> 16 March 2006 at 7:44am<br /><br />When I'm adding ModifyStyleEx(WS_EX_CLIENTEDGE,0, SWP_FRAMECHANGED); to my OnInitialUpdate (to remove the 3d view off my CView) the CXTPShortcutBar starts to resize wrong. How must one remove the ClientEdge for this to work?]]>
   </description>
   <pubDate>Thu, 16 Mar 2006 07:44:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3792&amp;PID=11461&amp;title=no-client-edge-in-cview#11461</guid>
  </item> 
 </channel>
</rss>