<?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 : CXTDockWindow</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : CXTDockWindow]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 13:11:06 +0000</pubDate>
  <lastBuildDate>Tue, 30 Jan 2007 02: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=6228</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[CXTDockWindow : Hi, Create with Wizard new project,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6228&amp;PID=19862&amp;title=cxtdockwindow#19862</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6228<br /><strong>Posted:</strong> 30 January 2007 at 2:34am<br /><br /><P>Hi,</P><DIV>Create with Wizard new project, copy you code regarding <FONT size=1>COutputBar and try to reproduce it. If you will attach sample here.</FONT></DIV><DIV><FONT size=1></FONT>&nbsp;</DIV><DIV><FONT size=1>Without your code there is no way to say what you do wrong.</FONT></DIV>]]>
   </description>
   <pubDate>Tue, 30 Jan 2007 02:34:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6228&amp;PID=19862&amp;title=cxtdockwindow#19862</guid>
  </item> 
  <item>
   <title><![CDATA[CXTDockWindow : For one of the problematic windows,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6228&amp;PID=19843&amp;title=cxtdockwindow#19843</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=676">denczek</a><br /><strong>Subject:</strong> 6228<br /><strong>Posted:</strong> 29 January 2007 at 3:33pm<br /><br /><FONT size=1>For one of the problematic windows, if I change this:</FONT><P><FONT size=1>m_wndOutputBar.Create(NULL, "Output", WS_CHILD | WS_VISIBLE, CRect(0, 0, 200, 120), <FONT color=#0000ff>this</FONT>, IDW_OUTPUTBAR, NULL);</FONT></P><P><FONT size=1>to this:</FONT></P><DIV><FONT size=1>WNDCLASS wndcls;<BR>memset(&amp;wndcls, 0, sizeof(WNDCLASS));&nbsp;&nbsp;&nbsp;<BR>wndcls.style = CS_DBLCLKS | CS_HREDRAW | CS_VREDRAW;<BR>wndcls.lpfnWndProc = ::DefWindowProc; <BR>wndcls.hInstance = AfxGetInstanceHandle();<BR>wndcls.hIcon = NULL;<BR>wndcls.hCursor = NULL;<BR>wndcls.hbrBackground = (HBRUSH) (COLOR_WINDOW + 1);<BR>wndcls.lpszMenuName = NULL;</FONT></DIV><DIV><FONT size=1>wndcls.lpszClassName = _T("COutputBar");</FONT></DIV><DIV><FONT size=1>if(!AfxRegisterClass(&amp;wndcls))<BR>{<BR>&nbsp;&nbsp;TRACE("Class Registration Failed\n");<BR>}</FONT></DIV><DIV><FONT size=1></FONT>&nbsp;</DIV><DIV><FONT size=1></FONT></DIV><DIV><FONT size=1>m_wndOutputBar.Create("COutputBar", "Output", WS_CHILD | WS_VISIBLE, CRect(0, 0, 200, 120), <FONT color=#0000ff>this</FONT>, IDW_OUTPUTBAR, NULL);</FONT></DIV><DIV><FONT size=1></FONT>&nbsp;</DIV><DIV><FONT size=2><FONT size=1>Doing this, the window now gets painted, but none of the child windows get drawn.&nbsp; The COutputBar class was originally derived from the CXTDockWindow class and was changed to derive from the CWnd base class.&nbsp; </FONT></FONT></DIV><DIV><FONT size=2><FONT size=1></FONT></FONT>&nbsp;</DIV><DIV><FONT size=2><FONT size=1>The COutputBar class we are using is the same class as that used in the GUI_VisualStudio6 example provided with the Xtreme Toolkit v4.1.</FONT></FONT></DIV><DIV><FONT size=2><FONT size=1></FONT></FONT>&nbsp;</DIV><DIV><FONT size=2><FONT size=1>Thanks again...</FONT></DIV></FONT>]]>
   </description>
   <pubDate>Mon, 29 Jan 2007 15:33:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6228&amp;PID=19843&amp;title=cxtdockwindow#19843</guid>
  </item> 
  <item>
   <title><![CDATA[CXTDockWindow : Unfortunately I cannot attach...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6228&amp;PID=19834&amp;title=cxtdockwindow#19834</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=676">denczek</a><br /><strong>Subject:</strong> 6228<br /><strong>Posted:</strong> 29 January 2007 at 10:37am<br /><br />Unfortunately I cannot attach the files for debugging.&nbsp; There are too many dependencies on third party controls and libraries...]]>
   </description>
   <pubDate>Mon, 29 Jan 2007 10:37:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6228&amp;PID=19834&amp;title=cxtdockwindow#19834</guid>
  </item> 
  <item>
   <title><![CDATA[CXTDockWindow : Hi, Can you attach whole application...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6228&amp;PID=19792&amp;title=cxtdockwindow#19792</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6228<br /><strong>Posted:</strong> 27 January 2007 at 2:45am<br /><br />Hi,<DIV>Can you attach whole application to debug it?</DIV>]]>
   </description>
   <pubDate>Sat, 27 Jan 2007 02:45:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6228&amp;PID=19792&amp;title=cxtdockwindow#19792</guid>
  </item> 
  <item>
   <title><![CDATA[CXTDockWindow : I also noticed that if I use class...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6228&amp;PID=19786&amp;title=cxtdockwindow#19786</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=676">denczek</a><br /><strong>Subject:</strong> 6228<br /><strong>Posted:</strong> 26 January 2007 at 5:57pm<br /><br />I also noticed that if I use class names in the Create call that the windows initially paint, but I am unable to update the windows.<DIV>&nbsp;</DIV><DIV>For example, changing this:</DIV><DIV><FONT size=2><P><FONT size=1><EM>m_pWndOutputPane = GetDockingPaneManager()-&gt;CreatePane(IDW_OUTPUTBAR, CRect(0, 0, 200, 120), dockBottomOf);</EM></FONT></P><P></FONT><FONT size=1><EM>m_wndOutputBar.Create(NULL, "Output", WS_CHILD | WS_VISIBLE, CRect(0, 0, 200, 120), <FONT color=#0000ff>this</FONT>, IDW_OUTPUTBAR, NULL);</EM></FONT></P><P><FONT size=1><EM>m_pWndOutputPane-&gt;Attach(&amp;m_wndOutputBar);</EM></P><DIV></DIV><DIV></DIV><P>To this:</P><DIV><FONT size=1><EM>m_pWndOutputPane = GetDockingPaneManager()-&gt;CreatePane(IDW_OUTPUTBAR, CRect(0, 0, 200, 120), dockBottomOf);</EM></FONT></DIV><DIV><P><FONT size=1><EM>m_wndOutputBar.Create("COutputBar", "Output", WS_CHILD | WS_VISIBLE, CRect(0, 0, 200, 120), <FONT color=#0000ff>this</FONT>, IDW_OUTPUTBAR, NULL);</EM></FONT></P><P><FONT size=1><EM>m_pWndOutputPane-&gt;Attach(&amp;m_wndOutputBar);</EM></FONT></P></DIV><DIV></FONT><FONT size=2>&nbsp;</DIV></FONT></DIV>]]>
   </description>
   <pubDate>Fri, 26 Jan 2007 17:57:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6228&amp;PID=19786&amp;title=cxtdockwindow#19786</guid>
  </item> 
  <item>
   <title><![CDATA[CXTDockWindow : I made the change and unfortunately,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6228&amp;PID=19783&amp;title=cxtdockwindow#19783</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=676">denczek</a><br /><strong>Subject:</strong> 6228<br /><strong>Posted:</strong> 26 January 2007 at 4:11pm<br /><br />I made the change and unfortunately, no difference.&nbsp; The 3 panes and associated windows created via the CreatePane method of my class where I am using the RUNTIME_CLASS macro, update and resize correctly.<DIV>&nbsp;</DIV><DIV>The 3 panes created using the DockingPaneManager's CreatePane method still do not get updated correctly and are either not shown (transparent backgrounds) or they display and then do not get repainted when the pane is detached or resized.</DIV>]]>
   </description>
   <pubDate>Fri, 26 Jan 2007 16:11:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6228&amp;PID=19783&amp;title=cxtdockwindow#19783</guid>
  </item> 
  <item>
   <title><![CDATA[CXTDockWindow : Problem in  LRESULT CMainFram...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6228&amp;PID=19777&amp;title=cxtdockwindow#19777</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6228<br /><strong>Posted:</strong> 26 January 2007 at 2:32pm<br /><br />Problem in <DIV>LRESULT CMainFrame::OnDockingPaneNotify(WPARAM wParam, LPARAM lParam)<BR>{<BR>&nbsp;if (wParam == XTP_DPN_SHOWWINDOW)<BR>&nbsp;{<BR>&nbsp;&nbsp;// get a pointer to the docking pane being shown.<BR>&nbsp;&nbsp;CXTPDockingPane* pPane = (CXTPDockingPane*)lParam;<BR>&nbsp;&nbsp;if (!pPane-&gt;IsValid())<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;CWnd* pWnd = NULL;<BR>&nbsp;&nbsp;&nbsp;int nPaneID = pPane-&gt;GetID();<BR>&nbsp;&nbsp;&nbsp;if (m_mapPanes.Lookup(nPaneID, pWnd))<BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;pPane-&gt;Attach(pWnd);<BR>&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;}<BR>&nbsp;}<BR>&nbsp;return TRUE; // handled<BR>}</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Don't return TRUE always.&nbsp; Change it to</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>LRESULT CMainFrame::OnDockingPaneNotify(WPARAM wParam, LPARAM lParam)<BR>{<BR>&nbsp;if (wParam == XTP_DPN_SHOWWINDOW)<BR>&nbsp;{</DIV><DIV>&nbsp; &#091;code&#093;</DIV><DIV>&nbsp; &nbsp;return TRUE; // handled<BR>}</DIV><DIV>&nbsp; return FALSE;</DIV><DIV>}</DIV>]]>
   </description>
   <pubDate>Fri, 26 Jan 2007 14:32:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6228&amp;PID=19777&amp;title=cxtdockwindow#19777</guid>
  </item> 
  <item>
   <title><![CDATA[CXTDockWindow : I&amp;#039;ve attached the file for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6228&amp;PID=19767&amp;title=cxtdockwindow#19767</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=676">denczek</a><br /><strong>Subject:</strong> 6228<br /><strong>Posted:</strong> 26 January 2007 at 12:30pm<br /><br />I've attached the file for your review.&nbsp; <DIV></DIV><DIV>&nbsp;</DIV><DIV>Thanks again...<a href="https://forum.codejock.com/uploads/20070126_122933_MainFrm.zip" target="_blank">uploads/20070126_122933_MainFrm.zip</A></DIV>]]>
   </description>
   <pubDate>Fri, 26 Jan 2007 12:30:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6228&amp;PID=19767&amp;title=cxtdockwindow#19767</guid>
  </item> 
  <item>
   <title><![CDATA[CXTDockWindow : Hi,  Attach MainFrm.cpp to show...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6228&amp;PID=19743&amp;title=cxtdockwindow#19743</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6228<br /><strong>Posted:</strong> 26 January 2007 at 1:42am<br /><br /><P>Hi,</P><DIV>&nbsp;</DIV><DIV>Attach MainFrm.cpp to show what you do.</DIV>]]>
   </description>
   <pubDate>Fri, 26 Jan 2007 01:42:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6228&amp;PID=19743&amp;title=cxtdockwindow#19743</guid>
  </item> 
  <item>
   <title><![CDATA[CXTDockWindow : I changed the base classes from...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6228&amp;PID=19737&amp;title=cxtdockwindow#19737</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=676">denczek</a><br /><strong>Subject:</strong> 6228<br /><strong>Posted:</strong> 25 January 2007 at 5:53pm<br /><br />I changed the base classes from CXTDockWindow to CWnd and after deleting some registry keys (for the layout?), all of the windows are shown in docking panes.&nbsp; The CWnd based GUI windows are not being updated though.&nbsp; I can&nbsp;undock one of those docked panes, but the pane shows undocked and undocked.&nbsp; It appears that a redraw is not occuring for some reason. <DIV>&nbsp;</DIV><DIV>Any ideas?</DIV>]]>
   </description>
   <pubDate>Thu, 25 Jan 2007 17:53:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6228&amp;PID=19737&amp;title=cxtdockwindow#19737</guid>
  </item> 
 </channel>
</rss>