<?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 : DockingPane problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : DockingPane problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 11:28:00 +0000</pubDate>
  <lastBuildDate>Thu, 01 Dec 2005 04:49:02 +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=3316</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[DockingPane problem : Try to search on forum WM_IDLEUPDATECMDUI...  Problem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3316&amp;PID=9926&amp;title=dockingpane-problem#9926</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 3316<br /><strong>Posted:</strong> 01 December 2005 at 4:49am<br /><br /><P>Try to search on forum WM_IDLEUPDATECMDUI...</P><P>&nbsp;</P><P>Problem that WM_IDLEUPDATECMDUI not send in ActiveX MFC and you must generate it manually.&nbsp;&nbsp; </P><P>Add Timer </P><P>SetTimer(TID_UPDATE, 100, NULL);<BR></P><P>and update Panes:</P><P>void CDockingPaneSite::OnTimer(UINT_PTR nIDEvent) <BR>{<BR>&nbsp;if (nIDEvent == TID_UPDATE)<BR>&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UpdatePanes();<BR>&nbsp;&nbsp;}</P><P>&nbsp;&nbsp;OnIdleUpdateCmdUI();<BR>&nbsp;}</P><P>&nbsp;CWnd::OnTimer(nIDEvent);<BR>}</P><P>&nbsp;</P><P>&nbsp;</P><P>void CDockingPaneCtrl::OleUpdatePanes()<BR>{<BR>&nbsp;if (m_pMainWnd)<BR>&nbsp;{<BR>&nbsp;&nbsp;CXTPDockingPaneManager* pDockingPaneManager = m_pMainWnd-&gt;GetDockingPaneManager();<BR>&nbsp;<BR>&nbsp;&nbsp;pDockingPaneManager-&gt;OnIdleUpdateCmdUI(1, 1);<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;CXTPDockingPaneLayout* pLayout = pDockingPaneManager-&gt;GetCurrentLayout();<BR>&nbsp;&nbsp;POSITION pos = pLayout-&gt;m_lstStack.GetHeadPosition();<BR>&nbsp;&nbsp;while (pos)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;CXTPDockingPaneBase* pPane = pLayout-&gt;m_lstStack.GetNext(pos);<BR>&nbsp;&nbsp;&nbsp;if (pPane-&gt;GetType() == xtpPaneTypeMiniWnd &amp;&amp; ((CXTPDockingPaneMiniWnd*)pPane)-&gt;CWnd::GetSafeHwnd())<BR>&nbsp;&nbsp;&nbsp;{<BR> &nbsp;&nbsp;&nbsp;&nbsp;((CXTPDockingPaneMiniWnd*)pPane)-&gt ;SendMessage(WM_IDLEUPDATECMDUI,  0, 0);<BR>&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;<BR>&nbsp;&nbsp;}&nbsp;<BR>&nbsp;}<BR>}<BR></P>]]>
   </description>
   <pubDate>Thu, 01 Dec 2005 04:49:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3316&amp;PID=9926&amp;title=dockingpane-problem#9926</guid>
  </item> 
  <item>
   <title><![CDATA[DockingPane problem : Hi, I have an MFC ActiveX and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3316&amp;PID=9923&amp;title=dockingpane-problem#9923</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1309">simus</a><br /><strong>Subject:</strong> 3316<br /><strong>Posted:</strong> 01 December 2005 at 2:36am<br /><br /><P>Hi,</P><P>I have an MFC ActiveX and I used CXTPDockingPanes in it, I done exactly the same initialisation than a standard stand alone MFC project, and ...</P><P>Docking seems to work but if I redock a floating pane it results in 2 panes, the one that is docked, and another one still floating and that is totally empty(not drawn) with a title set to "Panes".</P><P>Do you have any idea in how to solve this? </P><P>Thanks a lot!</P>]]>
   </description>
   <pubDate>Thu, 01 Dec 2005 02:36:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3316&amp;PID=9923&amp;title=dockingpane-problem#9923</guid>
  </item> 
 </channel>
</rss>