<?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 : Task panel group display updates</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Task Panel : Task panel group display updates]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 07:14:43 +0000</pubDate>
  <lastBuildDate>Tue, 04 Sep 2007 16:02:36 +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=7936</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[Task panel group display updates : Progres ...  I am actually experiencing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7936&amp;PID=25556&amp;title=task-panel-group-display-updates#25556</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 7936<br /><strong>Posted:</strong> 04 September 2007 at 4:02pm<br /><br /><DIV>Progres ...</DIV><DIV>&nbsp;</DIV><DIV>I am actually experiencing a number of issues with flickering/flashing windows. For the task panel, I have tracked the problem to CXTPTaskPanel::SetHotItem. When the hot item changes, the method makes this call that invalidates the entire client area:</DIV><P>Invalidate(FALSE);</P><P>Likewise I have the same issue with XTPPopupControl. When the HitTest call returns an item, CXTPPopupControl calls RedrawControl and RedrawControl does an Invalidate(FALSE).</P><P>So now I know the immediate cause of everything updating all the time. But this forced update of everything seems unnecessary.</P><P>What is the reason for invalidating the entire panel (and popup?) In the very least it seems reasonable to get the hit item's rectangle and invalidate only the rectangle. </P><DIV>Actually, for the task panel, why would the contents of a group (the items) need to be redrawn simply because I moved the group's caption?</DIV><DIV>&nbsp;</DIV><DIV>Likewise, for a popup control, why would a mouse hit on one item result in the need to update all the items?</DIV>]]>
   </description>
   <pubDate>Tue, 04 Sep 2007 16:02:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7936&amp;PID=25556&amp;title=task-panel-group-display-updates#25556</guid>
  </item> 
  <item>
   <title><![CDATA[Task panel group display updates : I have a task panel that I add...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7936&amp;PID=25555&amp;title=task-panel-group-display-updates#25555</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> 7936<br /><strong>Posted:</strong> 04 September 2007 at 2:50pm<br /><br />I have a task panel that I add multiple groups to. I am adding a dialog box as the item in each group. I have one group expanded.<DIV>&nbsp;</DIV><DIV>I have noticed that as I move the mouse over one of the group captions (expanded group or unexpanded) everything in the panel's dialogs&nbsp;"flickers".</DIV><DIV>&nbsp;</DIV><DIV>I set a break in one of my dialog's OnCtlColor and when I move the cursor over any caption, the entire dialog box appears to be asked to redisplay by Windows. That is, by examining the call stack I note no codejock calls on the stack and the display seems to be the result of windows simply handling an update request.</DIV><DIV>&nbsp;</DIV><DIV>How do I stop a mouse event occurring over one group caption from causing items in another group from being redisplayed?</DIV>]]>
   </description>
   <pubDate>Tue, 04 Sep 2007 14:50:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7936&amp;PID=25555&amp;title=task-panel-group-display-updates#25555</guid>
  </item> 
 </channel>
</rss>