<?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 : CXTPStatusBar redraw problems</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : CXTPStatusBar redraw problems]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 13:16:49 +0000</pubDate>
  <lastBuildDate>Thu, 28 Dec 2006 15:44:39 +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=5932</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[CXTPStatusBar redraw problems : Hi; When using controls inside...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5932&amp;PID=18685&amp;title=cxtpstatusbar-redraw-problems#18685</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 5932<br /><strong>Posted:</strong> 28 December 2006 at 3:44pm<br /><br />Hi;<DIV>When using controls inside CXTPStatusBar I run into redraw problems when sizing the parent of the statusbar.</DIV><DIV>I created a pane of type CXTPStatusBarIconPane as pane in middle of the whole statusbar - just right of the stretchable menu indicator pane.</DIV><DIV>When shrinking the parent of the statusbar to a size that is smaller than the extend of the&nbsp;main pane&nbsp;and icon pane (the icon pane is partially visible), the icon pane is not redrawn. I also set the WS_CLIPCHILDREN style of the statusbar to prevent flickering...</DIV><DIV>&nbsp;</DIV><DIV>I checked the code and I found one possible problem, that after changing fixed my problem:</DIV><DIV>&nbsp;</DIV><DIV>In CXTPStatusBarPaneWnd::Create() I changed the <FONT size=2></DIV><P>CString wndClass = ::AfxRegisterWndClass(CS_BYTEALIGNCLIENT | CS_DBLCLKS);</P><DIV></DIV><DIV>to</DIV><FONT size=2><P>CString wndClass = ::AfxRegisterWndClass(CS_BYTEALIGNCLIENT | CS_DBLCLKS<strong> | CS_HREDRAW</strong>);</P><DIV></DIV><DIV>Now all panes containing controls derived from CXTPStatusBarPaneWnd are always redrawn when any sizing occures.</DIV><DIV>Perhaps this could be changed in toolkit by codejock too???!!!????</DIV><DIV>&nbsp;</DIV><DIV>BTW, why is the CS_BYTEALIGNCLIENT style set? Is this style required?</DIV><DIV></FONT></FONT>&nbsp;</DIV>]]>
   </description>
   <pubDate>Thu, 28 Dec 2006 15:44:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5932&amp;PID=18685&amp;title=cxtpstatusbar-redraw-problems#18685</guid>
  </item> 
 </channel>
</rss>