<?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 : 9.60.1 major repaint problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : 9.60.1 major repaint problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 21:48:51 +0000</pubDate>
  <lastBuildDate>Fri, 11 Mar 2005 11:34:21 +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=1914</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[9.60.1 major repaint problem :   oleg wrote: We agree, that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1914&amp;PID=5695&amp;title=9-60-1-major-repaint-problem#5695</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=864">JamesH</a><br /><strong>Subject:</strong> 1914<br /><strong>Posted:</strong> 11 March 2005 at 11:34am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br /><P><SPAN ="bold">We agree, that we added this problem in 9.60.1</SPAN></P><P><SPAN ="bold">:(</SPAN></P><P></td></tr></table> </P><P>&nbsp;</P><P>No problem, Oleg, thanks for releasing 9.60.1 all the other new fixes/features were well worth the hassle of tracking down that problem.&nbsp; Keep up the great work...</P>]]>
   </description>
   <pubDate>Fri, 11 Mar 2005 11:34:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1914&amp;PID=5695&amp;title=9-60-1-major-repaint-problem#5695</guid>
  </item> 
  <item>
   <title><![CDATA[9.60.1 major repaint problem : JamesH, please make something...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1914&amp;PID=5688&amp;title=9-60-1-major-repaint-problem#5688</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1914<br /><strong>Posted:</strong> 11 March 2005 at 2:45am<br /><br /><P><SPAN =bold>JamesH, please make something liek</SPAN></P><P><SPAN =bold>if (Control-&gt;Caption != Caption)</SPAN></P><P><SPAN =bold>{</SPAN></P><P><SPAN =bold>Control-&gt;Caption = Caption;</SPAN></P><P><SPAN =bold>}</SPAN></P><P><SPAN =bold></SPAN>&nbsp;</P><P><SPAN =bold>We agree, that we added this problem in 9.60.1</SPAN></P><P><SPAN =bold>:(</SPAN></P>]]>
   </description>
   <pubDate>Fri, 11 Mar 2005 02:45:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1914&amp;PID=5688&amp;title=9-60-1-major-repaint-problem#5688</guid>
  </item> 
  <item>
   <title><![CDATA[9.60.1 major repaint problem : Well that was easy.  I still haven&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1914&amp;PID=5682&amp;title=9-60-1-major-repaint-problem#5682</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=833">Spyder</a><br /><strong>Subject:</strong> 1914<br /><strong>Posted:</strong> 10 March 2005 at 11:09pm<br /><br />Well that was easy.  I still haven't replicated it in a standalone app, but I'm sure the example JamesH attached will show this behaviour (I couldn't get it to run, but I don't know C).<br /><br />There are two properties that if set in the update event will cause the resize event to fire.<br />1) caption<br />2) width (I only set this on combo box items)<br /><br />This may be related to a bug fixed in 9.60.1 where the width property had no effect when called from the update event.<br /><br /><br />edit:<br />as a workaround I simply check if the property is equal to what I'm trying to update with.  Adds more processing overhead but stops the flickering until an official fix is released.<span style="font-size:10px"><br /><br />Edited by Spyder</span>]]>
   </description>
   <pubDate>Thu, 10 Mar 2005 23:09:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1914&amp;PID=5682&amp;title=9-60-1-major-repaint-problem#5682</guid>
  </item> 
  <item>
   <title><![CDATA[9.60.1 major repaint problem : I&amp;#039;m seeing something similar,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1914&amp;PID=5681&amp;title=9-60-1-major-repaint-problem#5681</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=833">Spyder</a><br /><strong>Subject:</strong> 1914<br /><strong>Posted:</strong> 10 March 2005 at 10:56pm<br /><br />I'm seeing something similar, using CommandBars and DockingPane together (VB6).  In my case, commandbars_resize is continually called causing the rest of my app to flicker, and the docked form has its paint() method continually called as it flickers too.<br /><br />I haven't yet replicated this outside of my application, but now that I know it might be a bug I'm working on it.<br /><br /><br />Removing the reference to caption in the update() method stopped the docked form from flickering, but commandbars_resize is still continually firing.  To fix a repaint bug I have to refresh the entire form on resize, so I see the flickering more than usual.]]>
   </description>
   <pubDate>Thu, 10 Mar 2005 22:56:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1914&amp;PID=5681&amp;title=9-60-1-major-repaint-problem#5681</guid>
  </item> 
  <item>
   <title><![CDATA[9.60.1 major repaint problem : I reviewed the code in our commandbars...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1914&amp;PID=5669&amp;title=9-60-1-major-repaint-problem#5669</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=864">JamesH</a><br /><strong>Subject:</strong> 1914<br /><strong>Posted:</strong> 10 March 2005 at 12:44pm<br /><br /><P>I reviewed the code in our commandbars update handler and the flashing is caused by assigning a value to the controls Caption member.</P><P>Again, this only happens in 9.60.1 it was fine in 9.60 ... I have hacked together a sample that shows the problem.&nbsp; This is basically a melding of your two WTL samples.</P><P>You can see in the update handler I re-assign the caption of each control, this is what causes the flashing.</P><P><A href="http://forum.codejock.com/uploads/JamesH/2005-03-10_124406_Copy_of_WTLSample.zip" target="_blank">2005-03-10_124406_Copy_of_WTLSample.zip</A></P>]]>
   </description>
   <pubDate>Thu, 10 Mar 2005 12:44:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1914&amp;PID=5669&amp;title=9-60-1-major-repaint-problem#5669</guid>
  </item> 
  <item>
   <title><![CDATA[9.60.1 major repaint problem : It can be only if you update some...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1914&amp;PID=5660&amp;title=9-60-1-major-repaint-problem#5660</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1914<br /><strong>Posted:</strong> 10 March 2005 at 10:46am<br /><br /><P>It can be only if you update some states of commandbars in update handler.</P><P>Try to comment your Update function.</P><P>&nbsp;</P><P>May be you can attach your Frame code?</P>]]>
   </description>
   <pubDate>Thu, 10 Mar 2005 10:46:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1914&amp;PID=5660&amp;title=9-60-1-major-repaint-problem#5660</guid>
  </item> 
  <item>
   <title><![CDATA[9.60.1 major repaint problem : ** Update 2 - Potential fix?** Since...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1914&amp;PID=5628&amp;title=9-60-1-major-repaint-problem#5628</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=864">JamesH</a><br /><strong>Subject:</strong> 1914<br /><strong>Posted:</strong> 08 March 2005 at 3:00pm<br /><br /><P>** Update 2 - Potential fix?&nbsp;**</P><P>Since I was also seeing several WM_TIMER messages coming into the pane dialogs, on a whim, I set the UpdatePeriod on the command bars object to 10,000 and this slows down the flashing.&nbsp; The re-paint flashing is tied to the UpdatePeriod, if I incrase the update period the flashing slows down if I decrease it the flashing speeds up.&nbsp; (This only happens with the 9.60.1 version of the docking pane)</P><P>Any ideas why or how I can continue to use the comand bars update timer but not have my panes flash?</P>]]>
   </description>
   <pubDate>Tue, 08 Mar 2005 15:00:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1914&amp;PID=5628&amp;title=9-60-1-major-repaint-problem#5628</guid>
  </item> 
  <item>
   <title><![CDATA[9.60.1 major repaint problem : ** Update ** I added a call on...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1914&amp;PID=5627&amp;title=9-60-1-major-repaint-problem#5627</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=864">JamesH</a><br /><strong>Subject:</strong> 1914<br /><strong>Posted:</strong> 08 March 2005 at 1:51pm<br /><br /><P>** Update **</P><P>I added a call on the child window that is displayed in the docking panes (the ones that are being repainted) and it is getting a stream of these messages:</P><P>WM_SIZEPARENT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0x0361</P><P> WM_WINDOWPOSCHANGING&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp; 0x0046</P><P>(I'm not sure what message 0x0486 is)</P><P>Here is the trace, the number in brackets is the address of the dialog, followed by the message number in decimal and hex.</P><P>&nbsp;DockPaneDialog (208651312) msg: 865, 361h<BR>&nbsp;DockPaneDialog (208647208) msg: 865, 361h<BR>&nbsp;DockPaneDialog (208645448) msg: 865, 361h<BR>&nbsp;DockPaneDialog (208643912) msg: 865, 361h<BR>&nbsp;DockPaneDialog (208641504) msg: 865, 361h<BR>&nbsp;DockPaneDialog (208638896) msg: 865, 361h<BR>&nbsp;DockPaneDialog (208620880) msg: 865, 361h<BR>&nbsp;DockPaneDialog (208612648) msg: 865, 361h<BR>&nbsp;DockPaneDialog (208598760) msg: 865, 361h<BR>&nbsp;DockPaneDialog (208606368) msg: 1158, 486h<BR>&nbsp;DockPaneDialog (208606368) msg: 70, 46h</P><P>If the only change I make is to use version 9.6 I don't see those messages passed to the child window.&nbsp; When I switch back to 9.60.1 I get a constant stream of those messages.&nbsp;&nbsp; Which causes the windows to repaint over and over.<IMG src="http://forum.codejock.com/smileys/smiley19.gif" border="0"></P><P>Any ideas where those messages could be coming from?</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Tue, 08 Mar 2005 13:51:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1914&amp;PID=5627&amp;title=9-60-1-major-repaint-problem#5627</guid>
  </item> 
  <item>
   <title><![CDATA[9.60.1 major repaint problem :   oleg wrote:When they flash?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1914&amp;PID=5588&amp;title=9-60-1-major-repaint-problem#5588</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=864">JamesH</a><br /><strong>Subject:</strong> 1914<br /><strong>Posted:</strong> 07 March 2005 at 11:22am<br /><br /><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by oleg" alt="Originally posted by oleg" style="vertical-align: text-bottom;" /> <strong>oleg wrote:</strong><br /><br />When they flash?</td></tr></table> </P><P>They flash constantly anytime two panes are docked.&nbsp; If I only have one pane displayed or the other panes are tabbed or floating they do not flash.</P><P>Each pane is receiving a non stop series of WM_PAINT messages.</P><P>The problem does not exist with the WTL&nbsp;sample so is likely due to some of the obscure message handling I do with the underlying panes.&nbsp; I trap specific messages for various reasons (such as determining which pane is the active pane).</P><P>As this was not a problem with the previous (9.60) version I was wondering if anyone had any ideas what areas have changed in 9.60.1 so it would give me an idea of where to start looking (debugging paint messages is always a pane)...</P>]]>
   </description>
   <pubDate>Mon, 07 Mar 2005 11:22:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1914&amp;PID=5588&amp;title=9-60-1-major-repaint-problem#5588</guid>
  </item> 
  <item>
   <title><![CDATA[9.60.1 major repaint problem : When they flash? ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1914&amp;PID=5564&amp;title=9-60-1-major-repaint-problem#5564</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 1914<br /><strong>Posted:</strong> 05 March 2005 at 5:25am<br /><br />When they flash? ]]>
   </description>
   <pubDate>Sat, 05 Mar 2005 05:25:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1914&amp;PID=5564&amp;title=9-60-1-major-repaint-problem#5564</guid>
  </item> 
 </channel>
</rss>