<?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 : detect docking / floating state in OnSize?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : detect docking / floating state in OnSize?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 03:29:12 +0000</pubDate>
  <lastBuildDate>Wed, 23 Sep 2009 10:08:08 +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=15224</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[detect docking / floating state in OnSize? :   Okay. This code looks nicer....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15224&amp;PID=53382&amp;title=detect-docking-floating-state-in-onsize#53382</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3301">Michl</a><br /><strong>Subject:</strong> 15224<br /><strong>Posted:</strong> 23 September 2009 at 10:08am<br /><br />Okay. This code looks nicer. <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0" align="absmiddle"><br><br><table width="99%"><tr><td><pre class="BBcode"><br>&nbsp;&nbsp;&nbsp; __super::OnSize(nType, cx, cy);<br><br>&nbsp;&nbsp;&nbsp; if (m_TabCtrl.GetSafeHwnd())<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CRect rcClientNow;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST, 0);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST, 0, reposQuery, rcClientNow);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_TabCtrl.MoveWindow( rcClientNow.left + 8, rcClientNow.top + 8, rcClientNow.Width() - 16, rcClientNow.Height() - 16 );<br>&nbsp;&nbsp;&nbsp; }<br></pre></td></tr></table><br><br>But this doesn't solve the problem if anyone likes to detect the current state in OnSize of a toolbar? Now, you never get the information about the toobar floating state. But I don't know if anyone would use/is missing this functionality...<br>]]>
   </description>
   <pubDate>Wed, 23 Sep 2009 10:08:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15224&amp;PID=53382&amp;title=detect-docking-floating-state-in-onsize#53382</guid>
  </item> 
  <item>
   <title><![CDATA[detect docking / floating state in OnSize? : better call   RepositionBars(AFX_IDW_CONTROLBAR_FIRST,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15224&amp;PID=53379&amp;title=detect-docking-floating-state-in-onsize#53379</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 15224<br /><strong>Posted:</strong> 23 September 2009 at 8:54am<br /><br /><P>better call </P><DIV></DIV><DIV></DIV>RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST, 0, <strong>reposQuery</strong>, rcClientNow);<BR><DIV></DIV><DIV>&nbsp;</DIV><DIV>to get current client rect.</DIV>]]>
   </description>
   <pubDate>Wed, 23 Sep 2009 08:54:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15224&amp;PID=53379&amp;title=detect-docking-floating-state-in-onsize#53379</guid>
  </item> 
  <item>
   <title><![CDATA[detect docking / floating state in OnSize? :   We use it inside a dialog....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15224&amp;PID=53374&amp;title=detect-docking-floating-state-in-onsize#53374</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3301">Michl</a><br /><strong>Subject:</strong> 15224<br /><strong>Posted:</strong> 23 September 2009 at 5:50am<br /><br />We use it inside a dialog. And it works fine...<br>(inclusive floating)<br><br>Was it not planned to work  inside dialogs???<br><br>You have right.<br><table width="99%"><tr><td><pre class="BBcode"><br>&nbsp;&nbsp;&nbsp; CFrameWnd* pFrame = m_pFrame-&gt;IsFrameWnd() ? (CFrameWnd*)m_pFrame : NULL;<br></pre></td></tr></table><br>pFrame is NULL in dialogs, so the else-case is executed.<br><br>Your're idea (to check GetDockBar() before I call GetPosition()) I already tried.<br>But the problem is, so I get an flicker effect!<br>(try to move a Toolbar inside a command bar. So OnSize will be called twice. First with GetDockBar() == NULL and second with GetDockBar() != NULL)<br><br>If I move the line, everything works fine...<br><table width="99%"><tr><td><pre class="BBcode"><br>BOOL CXTPCommandBars::FloatCommandBar(CXTPToolBar* pBar)<br>{<br>&nbsp;&nbsp;&nbsp; if (!pBar-&gt;Create(m_pFrame, TRUE))<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return FALSE;<br>&nbsp;&nbsp;&nbsp; }<br><br><font color="#ff0000">&nbsp;&nbsp;&nbsp; pBar-&gt;m_barPosition = xtpBarFloating;<br></font><br>&nbsp;&nbsp;&nbsp; if (pBar-&gt;m_pDockBar != NULL)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pBar-&gt;m_pDockBar-&gt;RemoveCommandBar(pBar);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pBar-&gt;m_pDockBar = NULL;<br><br>&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; return TRUE;<br>}<br></pre></td></tr></table><br><br>But I think for compatibility that's the better solution:<br><table width="99%"><tr><td><pre class="BBcode"><br>BOOL CXTPCommandBars::FloatCommandBar(CXTPToolBar* pBar)<br>{<br>&nbsp;&nbsp;&nbsp; if (!pBar-&gt;Create(m_pFrame, TRUE))<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return FALSE;<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; if (pBar-&gt;m_pDockBar != NULL)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pBar-&gt;m_pDockBar-&gt;RemoveCommandBar(pBar);<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <font color="#ff0000">pBar-&gt;m_barPosition = xtpBarFloating;</font><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <font color="#ff0000">pBar-&gt;m_pCommandBars-&gt;RecalcFrameLayout(TRUE);</font><br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pBar-&gt;m_pDockBar = NULL;&nbsp;&nbsp;&nbsp; <font color="#006600">//Is this neccessery? m_pDockBar will be set to NULL in RemoveCommandBar</font><br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; <font color="#ff0000">else</font><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pBar-&gt;m_barPosition = xtpBarFloating;<br><br>&nbsp;&nbsp;&nbsp; return TRUE;<br>}<br></pre></td></tr></table><br><br>Thats's my code. Or do you have a better way to resolve this problem? <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0" align="absmiddle"><br><table width="99%"><tr><td><pre class="BBcode"><br>void CMyDialog::OnSize(UINT nType, int cx, int cy)<br>{<br>&nbsp;&nbsp;&nbsp; __super::OnSize(nType, cx, cy);<br><br>&nbsp;&nbsp;&nbsp; RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST, 0);<br><br>&nbsp;&nbsp;&nbsp; if (m_TabCtrl.GetSafeHwnd() &amp;&amp;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_pToolBar &amp;&amp; m_pToolBar-&gt;GetSafeHwnd())<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CRect rectClient;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; GetClientRect( &amp;rectClient );<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPEmptyRect rectToolBar;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (m_pToolBar-&gt;GetPosition() != xtpBarFloating)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_pToolBar-&gt;GetClientRect( &amp;rectToolBar );<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; switch (m_pToolBar-&gt;GetPosition())<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; case xtpBarLeft:<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rectClient.left += rectToolBar.Width();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rectClient.right -= rectToolBar.Width();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; break;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; case xtpBarTop:<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rectClient.top += rectToolBar.Height();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rectClient.bottom -= rectToolBar.Height();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; break;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; case xtpBarRight:<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rectClient.right -= rectToolBar.Width();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; break;<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; case xtpBarBottom:<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rectClient.bottom -= rectToolBar.Height();<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; break;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_TabCtrl.MoveWindow( rectClient.left + 8, rectClient.top + 8, rectClient.right - 16, rectClient.bottom - 16 );<br>&nbsp;&nbsp;&nbsp; }<br>}<br></pre></td></tr></table><br>]]>
   </description>
   <pubDate>Wed, 23 Sep 2009 05:50:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15224&amp;PID=53374&amp;title=detect-docking-floating-state-in-onsize#53374</guid>
  </item> 
  <item>
   <title><![CDATA[detect docking / floating state in OnSize? : Hi,  Do you have your toolbars...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15224&amp;PID=53366&amp;title=detect-docking-floating-state-in-onsize#53366</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 15224<br /><strong>Posted:</strong> 23 September 2009 at 3:49am<br /><br /><P>Hi,</P><DIV>&nbsp;</DIV><DIV>Do you have your toolbars inside some frame or simple dialog? </DIV><DIV>strange - if its frame last line have not to be executed, if its dialog -&nbsp;toolbar can't be floated.</DIV><DIV>&nbsp;</DIV><DIV>you can check if pToolBar-&gt;GetDockBar() return NULL - it means toolbar is&nbsp;floated.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 23 Sep 2009 03:49:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15224&amp;PID=53366&amp;title=detect-docking-floating-state-in-onsize#53366</guid>
  </item> 
  <item>
   <title><![CDATA[detect docking / floating state in OnSize? : Hello,we using Codejock v11.22....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15224&amp;PID=53348&amp;title=detect-docking-floating-state-in-onsize#53348</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3301">Michl</a><br /><strong>Subject:</strong> 15224<br /><strong>Posted:</strong> 22 September 2009 at 12:27pm<br /><br />Hello,<br><br>we using Codejock v11.22. Perhaps it was already changed...<br>or is this code okay?<br><br>How can I detect that my docked toolbar is now in floating state in OnSize??<br><br>If a user move a dockingable toolbar, following code will be called:<br><table width="99%"><tr><td><pre class="BBcode"><br>void CXTPDockContext::Move(CPoint pt)<br>{<br>&nbsp;&nbsp;&nbsp; ...<br><br>&nbsp;&nbsp;&nbsp; if (!bDocked &amp;&amp; (dwFlags &amp; xtpFlagFloating))<br><blockquote>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (m_pBar-&gt;GetPosition() != xtpBarFloating)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <font color="#ff0000">pCommandBars-&gt;FloatCommandBar(m_pBar);</font><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CSize sz = m_pBar-&gt;CalcDynamicLayout(0, LM_HORZ | LM_MRUWIDTH | LM_COMMIT);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_rectDragFrame = CRect(m_rectDragFrame.TopLeft(), sz);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; AdjustRectangle(m_rectDragFrame, pt);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; EnsureVisible(m_rectDragFrame);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_pBar-&gt;MoveWindow(m_rectDragFrame);<br>&nbsp;&nbsp;&nbsp; }</blockquote>}<br></pre></td></tr></table><br><br>&#091;code}<br>BOOL CXTPCommandBars::FloatCommandBar(CXTPToolBar* pBar)<br>{<br>&nbsp;&nbsp;&nbsp; if (!pBar-&gt;Create(m_pFrame, TRUE))<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return FALSE;<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; if (pBar-&gt;m_pDockBar != NULL)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <font color="#ff0000">pBar-&gt;m_pDockBar-&gt;RemoveCommandBar(pBar);</font><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pBar-&gt;m_pDockBar = NULL;<br><br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; <font color="#0000ff">pBar-&gt;m_barPosition = xtpBarFloating;</font><br><br>&nbsp;&nbsp;&nbsp; return TRUE;<br>}<br>&#091;/code&#093;<br><br><table width="99%"><tr><td><pre class="BBcode"><br>BOOL CXTPDockBar::RemoveCommandBar(CXTPToolBar* pBar, int nPosExclude)<br>{<br>&nbsp;&nbsp;&nbsp; ASSERT_VALID(this);<br>&nbsp;&nbsp;&nbsp; ASSERT(pBar != NULL);<br>&nbsp;&nbsp;&nbsp; if (!pBar)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return FALSE;<br><br>&nbsp;&nbsp;&nbsp; int nPos = FindBar(pBar, nPosExclude);<br>&nbsp;&nbsp;&nbsp; ASSERT(nPos &gt; 0);<br>&nbsp;&nbsp;&nbsp; if (nPos &lt;= 0)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return FALSE;<br><br>&nbsp;&nbsp;&nbsp; m_arrBars.RemoveAt(nPos);<br>&nbsp;&nbsp;&nbsp; if (m_arrBars&#091;nPos-1&#093; == NULL &amp;&amp; m_arrBars&#091;nPos&#093; == NULL)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_arrBars.RemoveAt(nPos);<br><br>&nbsp;&nbsp;&nbsp; pBar-&gt;m_pDockBar = NULL;<br><br>&nbsp;&nbsp;&nbsp; // get parent frame for recalc layout/frame destroy<br>&nbsp;&nbsp;&nbsp; <font color="#ff0000">m_pCommandBars-&gt;RecalcFrameLayout(TRUE);</font><br><br>&nbsp;&nbsp;&nbsp; return TRUE;<br>}<br></pre></td></tr></table><br><br><table width="99%"><tr><td><pre class="BBcode"><br>void CXTPCommandBars::RecalcFrameLayout(BOOL bDelay)<br>{<br>&nbsp;&nbsp;&nbsp; if (m_bRecalcLayout)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return;<br><br>&nbsp;&nbsp;&nbsp; if (!m_pFrame-&gt;GetSafeHwnd())<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return;<br><br>&nbsp;&nbsp;&nbsp; CFrameWnd* pFrame = m_pFrame-&gt;IsFrameWnd() ? (CFrameWnd*)m_pFrame : NULL;<br>&nbsp;&nbsp;&nbsp; if (pFrame)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (bDelay)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pFrame-&gt;DelayRecalcLayout(FALSE);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; else<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; pFrame-&gt;RecalcLayout(FALSE);<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; else<br>&nbsp;&nbsp;&nbsp; {<br><font color="#ff0000">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CXTPClientRect rc(m_pFrame);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_pFrame-&gt;SendMessage(WM_SIZE, 0, MAKELPARAM(rc.Width(), rc.Height()));<br></font>&nbsp;&nbsp;&nbsp; }<br>}<br><br></pre></td></tr></table><br><br>So I will be notified about a changing layout via OnSize, but I can't realign my controls because I don't have the actual state of Toolbar (it says it is already docked top, left, ...)<br>I think its wrong to set the new state (blue line) after generating the message WM_SIZE. What do you mean?<br><br>Thanks for your opinion.<br>]]>
   </description>
   <pubDate>Tue, 22 Sep 2009 12:27:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15224&amp;PID=53348&amp;title=detect-docking-floating-state-in-onsize#53348</guid>
  </item> 
 </channel>
</rss>