<?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 : Main frame not redrawing correctly</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Main frame not redrawing correctly]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 18:43:27 +0000</pubDate>
  <lastBuildDate>Thu, 22 May 2003 10:21:44 +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=25</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[Main frame not redrawing correctly : Thank you for your suggestion. You...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=25&amp;PID=62&amp;title=main-frame-not-redrawing-correctly#62</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 25<br /><strong>Posted:</strong> 22 May 2003 at 10:21am<br /><br /><P>Thank you for your suggestion.</P><P>You can make the following to fix it:&nbsp; (or wait next version)</P><P>in XTPToolbar.cpp change the following function:</P><P>LRESULT CXTPToolBar::OnFloatStatus(WPARAM wParam, LPARAM)<BR>{<BR>&nbsp;// FS_SYNCACTIVE is used to detect MFS_SYNCACTIVE windows<BR>&nbsp;LRESULT lResult = ((GetStyle() &amp; MFS_SYNCACTIVE) &amp;&amp; (wParam &amp; FS_SYNCACTIVE));</P><P>&nbsp;if (m_barPosition != xtpBarFloating || !m_bVisible)<BR>&nbsp;&nbsp;return lResult;</P><P>&nbsp;if ((wParam &amp; FS_DEACTIVATE) &amp;&amp; !IsTopParentActive())<BR>&nbsp;{<BR>&nbsp;&nbsp;SetWindowPos(NULL, 0, 0, 0, 0, SWP_HIDEWINDOW | SWP_NOZORDER | SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE);<BR>&nbsp;}<BR>&nbsp;if ((wParam &amp; FS_ACTIVATE) &amp;&amp; !IsWindowVisible() &amp;&amp; IsTopParentActive())<BR>&nbsp;{<BR>&nbsp;&nbsp;// check if parent invisible or minimized window<BR>&nbsp;&nbsp;DWORD dwStyle = ::GetWindowLong(::GetForegroundWindow(), GWL_STYLE);<BR>&nbsp;&nbsp;if ((dwStyle &amp; WS_VISIBLE) &amp;&amp; !(dwStyle &amp; WS_MINIMIZE))&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;SetWindowPos(NULL, 0, 0, 0, 0, SWP_SHOWWINDOW | SWP_NOZORDER | SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE);&nbsp;&nbsp;<BR>&nbsp;&nbsp;<BR>&nbsp;}<BR>&nbsp;if (wParam &amp; (FS_SHOW|FS_HIDE))<BR>&nbsp;{<BR>&nbsp;&nbsp;SetWindowPos(NULL, 0, 0, 0, 0,<BR>&nbsp;&nbsp;&nbsp;((wParam &amp; FS_SHOW) ? SWP_SHOWWINDOW : SWP_HIDEWINDOW) | SWP_NOZORDER |<BR>&nbsp;&nbsp;&nbsp;SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE);<BR>&nbsp;}<BR>&nbsp;if (wParam &amp; (FS_ENABLE|FS_DISABLE))<BR>&nbsp;&nbsp;EnableWindow((wParam &amp; FS_ENABLE) != 0);</P><P>&nbsp;return lResult;<BR>}</P><P><BR>in XTPControlComboBox.cpp change the following function:</P><P>CXTPControlComboBox::CXTPControlComboBox(void)<BR>{<BR>&nbsp;m_controlType = xtpControlComboBox;<BR>&nbsp;m_dwDropDown = CBS_DROPDOWN;<BR>&nbsp;m_comboStyle = xtpComboNormal;<BR>&nbsp;m_nWidth = 100;<BR>&nbsp;m_nLabelWidth = 0;<BR>&nbsp;m_pEdit = 0;<BR>&nbsp;<BR>&nbsp;m_pCommandBar = new CListBoxExt();<BR>&nbsp;m_pCommandBar-&gt;CreateEx(WS_EX_STATICEDGE, _T("LISTBOX"), _T(""), WS_POPUP|WS_VSCROLL|WS_BORDER|WS_CLIPCHILDREN, CRect(0,0,0,0),&nbsp; AfxGetMainWnd(),&nbsp; 0);&nbsp; <BR>}<BR></P>]]>
   </description>
   <pubDate>Thu, 22 May 2003 10:21:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=25&amp;PID=62&amp;title=main-frame-not-redrawing-correctly#62</guid>
  </item> 
  <item>
   <title><![CDATA[Main frame not redrawing correctly : Using the GUID_VisualStudio7 project...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=25&amp;PID=42&amp;title=main-frame-not-redrawing-correctly#42</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=14">Graham</a><br /><strong>Subject:</strong> 25<br /><strong>Posted:</strong> 21 May 2003 at 10:00am<br /><br /><P>Using the GUID_VisualStudio7 project as an example. Undock the worksapce window containing the solution explorer window etc. Select the "Solution" tab. Switch to another application (full screen would be best) e.g. Visual Studio. Then switch back to the app, and the main frame is not redrawn, or is not brought to the front.</P><P>I have tried to use the submit bug report section of your website, but when submitting the bug an error is returned : "resource not found".</P><P>Regards,</P><P>Graham Hammell</P><P>P.S. I like the new docking windows. It was relatively easy to convert my existing app from using CXTDockWindow etc to the new docking windows.</P>]]>
   </description>
   <pubDate>Wed, 21 May 2003 10:00:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=25&amp;PID=42&amp;title=main-frame-not-redrawing-correctly#42</guid>
  </item> 
 </channel>
</rss>