<?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 : Pane redraw doubt!</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Pane redraw doubt!]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 10:02:37 +0000</pubDate>
  <lastBuildDate>Tue, 07 Oct 2008 02:34:59 +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=12287</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[Pane redraw doubt! : Should be, but not possible. CS_SAVEBITS...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12287&amp;PID=41701&amp;title=pane-redraw-doubt#41701</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12287<br /><strong>Posted:</strong> 07 October 2008 at 2:34am<br /><br />Should be, but not possible. CS_SAVEBITS can't be applied for Child windows.<DIV></DIV>Use cashed bitmap and it will save time to redraw whole window.<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Closed.</DIV>]]>
   </description>
   <pubDate>Tue, 07 Oct 2008 02:34:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12287&amp;PID=41701&amp;title=pane-redraw-doubt#41701</guid>
  </item> 
  <item>
   <title><![CDATA[Pane redraw doubt! : CS_SAVEBITS is style for Top Level...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12287&amp;PID=41682&amp;title=pane-redraw-doubt#41682</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 12287<br /><strong>Posted:</strong> 06 October 2008 at 12:04pm<br /><br /><EM>CS_SAVEBITS is style for Top Level windows only.</EM><DIV>&nbsp;</DIV><DIV>Disagree. I think it should be possible to set this style of all panes, just like you do in MFC. Why not add this?</DIV><DIV>&nbsp;</DIV><DIV>More info about this peculiar class style:</DIV><DIV><a href="http://blogs.msdn.com/oldnewthing/archive/2006/04/28/586018.aspx" target="_blank">http://blogs.msdn.com/oldnewthing/archive/2006/04/28/586018.aspx</A></DIV>]]>
   </description>
   <pubDate>Mon, 06 Oct 2008 12:04:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12287&amp;PID=41682&amp;title=pane-redraw-doubt#41682</guid>
  </item> 
  <item>
   <title><![CDATA[Pane redraw doubt! : your Pane is standard Window....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12287&amp;PID=41652&amp;title=pane-redraw-doubt#41652</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12287<br /><strong>Posted:</strong> 06 October 2008 at 2:34am<br /><br />your Pane is standard Window. Each window receives WM_PAINT if its content was invalidated. ]]>
   </description>
   <pubDate>Mon, 06 Oct 2008 02:34:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12287&amp;PID=41652&amp;title=pane-redraw-doubt#41652</guid>
  </item> 
  <item>
   <title><![CDATA[Pane redraw doubt! : I have a cached bitmap. The problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12287&amp;PID=41613&amp;title=pane-redraw-doubt#41613</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 12287<br /><strong>Posted:</strong> 03 October 2008 at 4:59am<br /><br />I have a cached bitmap. The problem is I have to StretchBlt it...<DIV>&nbsp;</DIV><DIV>Is there no other way to prevent the pane from being redrawn?</DIV>]]>
   </description>
   <pubDate>Fri, 03 Oct 2008 04:59:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12287&amp;PID=41613&amp;title=pane-redraw-doubt#41613</guid>
  </item> 
  <item>
   <title><![CDATA[Pane redraw doubt! : btw... I very recommend use cashed...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12287&amp;PID=41607&amp;title=pane-redraw-doubt#41607</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12287<br /><strong>Posted:</strong> 03 October 2008 at 1:49am<br /><br />btw... I very recommend use cashed bitmap if you need draw a lot of stuff.<DIV>&nbsp;</DIV><DIV><DIV></DIV>See CXTPReportControl::OnPaint() method - if nothing was changed its just print saved m_bmpCache.</DIV>]]>
   </description>
   <pubDate>Fri, 03 Oct 2008 01:49:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12287&amp;PID=41607&amp;title=pane-redraw-doubt#41607</guid>
  </item> 
  <item>
   <title><![CDATA[Pane redraw doubt! : Hi, CS_SAVEBITS is style for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12287&amp;PID=41606&amp;title=pane-redraw-doubt#41606</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12287<br /><strong>Posted:</strong> 03 October 2008 at 1:47am<br /><br />Hi,<DIV>CS_SAVEBITS is style for Top Level windows only. Don't apply it for Child windows.</DIV>]]>
   </description>
   <pubDate>Fri, 03 Oct 2008 01:47:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12287&amp;PID=41606&amp;title=pane-redraw-doubt#41606</guid>
  </item> 
  <item>
   <title><![CDATA[Pane redraw doubt! : Interestingly... http://msdn.m...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12287&amp;PID=41602&amp;title=pane-redraw-doubt#41602</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 12287<br /><strong>Posted:</strong> 02 October 2008 at 5:39pm<br /><br />Interestingly... <a href="http://msdn.microsoft.com/en-us/library/bb983830.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/bb983830.aspx</A>]]>
   </description>
   <pubDate>Thu, 02 Oct 2008 17:39:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12287&amp;PID=41602&amp;title=pane-redraw-doubt#41602</guid>
  </item> 
  <item>
   <title><![CDATA[Pane redraw doubt! : I have a pane P1 with heavy GDI-drawing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12287&amp;PID=41473&amp;title=pane-redraw-doubt#41473</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 12287<br /><strong>Posted:</strong> 29 September 2008 at 12:32pm<br /><br /><DIV>I have a pane P1 with <U>heavy</U> GDI-drawing (memory-device + bitmap used). A hidden pane&nbsp;H1 is then shown. When I move away the mouse pointer it closes, but the content of H1 is visible for some 2 seconds!</DIV><DIV>&nbsp;</DIV><DIV>Try this sample:</DIV><DIV><a href="http://forum.codejock.com/uploads/20081002_172727_PaneRedrawProbl.zip" target="_blank">uploads/20081002_172727_PaneRedrawProbl.zip</A></DIV><DIV><DIV>&nbsp;</DIV><DIV>You will see that only the obscured area of the right pane&nbsp;is invalidated, which is probably the best thing to do in most cases. However, why does this happen when <strong>CS_SAVEBITS</strong> is set for the window class?</DIV><DIV>&nbsp;</DIV><DIV>I believe this is a flaw in the pane implementation!</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><EM>From MSDN:</EM></DIV><DIV><strong>CS_SAVEBITS</strong> Saves, as a bitmap, the portion of the screen image obscured by a window of this class. When the window is removed, the system uses the saved bitmap to restore the screen image, including other windows that were obscured. Therefore, <strong>the system does not send WM_PAINT messages to windows that were obscured if the memory used by the bitmap has not been discarded</strong> and if other screen actions have not invalidated the stored image.</DIV></DIV>]]>
   </description>
   <pubDate>Mon, 29 Sep 2008 12:32:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12287&amp;PID=41473&amp;title=pane-redraw-doubt#41473</guid>
  </item> 
 </channel>
</rss>