<?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 : show up of context menu breaks window invalidation</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : show up of context menu breaks window invalidation]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 10:19:55 +0000</pubDate>
  <lastBuildDate>Fri, 26 Sep 2008 02:53:38 +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=12257</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[show up of context menu breaks window invalidation : Hi,  Small sample to show problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12257&amp;PID=41402&amp;title=show-up-of-context-menu-breaks-window-invalidation#41402</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12257<br /><strong>Posted:</strong> 26 September 2008 at 2:53am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Small sample to show problem will help a lot.</DIV>]]>
   </description>
   <pubDate>Fri, 26 Sep 2008 02:53:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12257&amp;PID=41402&amp;title=show-up-of-context-menu-breaks-window-invalidation#41402</guid>
  </item> 
  <item>
   <title><![CDATA[show up of context menu breaks window invalidation : Hi everyone, I have a CXTPToolBar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12257&amp;PID=41395&amp;title=show-up-of-context-menu-breaks-window-invalidation#41395</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4548">Tianzhou</a><br /><strong>Subject:</strong> 12257<br /><strong>Posted:</strong> 25 September 2008 at 3:07pm<br /><br />Hi everyone,<br>&nbsp;&nbsp;&nbsp;&nbsp; I have a CXTPToolBar on my window. I first right-click on the CXTPToolBar to show the context menu. The weird thing happens then. When I resize the window bigger,there are some strips along the resizing path.The width of the strip is the same as the width of my scrollbar. It seems the OS can't handle the invalidation properly after once the context menu is shown on the CXTPToolBar. <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Additionally,I use an overlay window to cover the whole area of my actual window to hide drawing when resizing. The reason is to prevent flicking problem when redrawing everything on my actual window. I think <br>it might relates with the overlay, because the problem only happens when I apply the overlay when resizing.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I suspect, is the inner implementation of CXTPToolBar would lock some resources when showing the context menu. And later when I call ::UpdateLayeredWindow API which would require that kind of resources then fail to get,thus cause the drawing problem.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I have been stumpled by this problem for a week. I appreciate anyone can give some hint on it.<br><br>Many Thanks!<br>]]>
   </description>
   <pubDate>Thu, 25 Sep 2008 15:07:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12257&amp;PID=41395&amp;title=show-up-of-context-menu-breaks-window-invalidation#41395</guid>
  </item> 
 </channel>
</rss>