<?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 : Action xtpPaneActionUnpinned doesn&#039;t update view</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Action xtpPaneActionUnpinned doesn&#039;t update view]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 09:45:13 +0000</pubDate>
  <lastBuildDate>Thu, 25 Sep 2014 04:10:29 +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=22228</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[Action xtpPaneActionUnpinned doesn&#039;t update view :   olebed wrote:Hi,I think this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22228&amp;PID=72792&amp;title=action-xtppaneactionunpinned-doesnt-update-view#72792</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4319">sdancer75</a><br /><strong>Subject:</strong> 22228<br /><strong>Posted:</strong> 25 September 2014 at 4:10am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by olebed" alt="Originally posted by olebed" style="vertical-align: text-bottom;" /> <strong>olebed wrote:</strong><br /><br />Hi,<br><br>I think this is normal behaviour of xtpPaneActionUnpinned action. Instead try to handle xtpPaneActionCollapsed, xtpPaneActionClosed or xtpPaneActionDeactivated.<br><br>Also other actions are defined in &nbsp;toolkitpro\Source\DockingPane\XTPDockingPaneDefines.h &nbsp;in enumeration &nbsp;XTPDockingPaneAction.<br><br>Regards,<br>&nbsp; Oleksandr Lebed<br></td></tr></table><div><br></div><div>Thanks for the reply. I solved my problem by catching the wm_resize message from my pane.</div><div><br></div><div>Best Regards,</div><div><br></div>]]>
   </description>
   <pubDate>Thu, 25 Sep 2014 04:10:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22228&amp;PID=72792&amp;title=action-xtppaneactionunpinned-doesnt-update-view#72792</guid>
  </item> 
  <item>
   <title><![CDATA[Action xtpPaneActionUnpinned doesn&#039;t update view : Hi,I think this is normal behaviour...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22228&amp;PID=72789&amp;title=action-xtppaneactionunpinned-doesnt-update-view#72789</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 22228<br /><strong>Posted:</strong> 24 September 2014 at 10:21am<br /><br />Hi,<br><br>I think this is normal behaviour of xtpPaneActionUnpinned action. Instead try to handle xtpPaneActionCollapsed, xtpPaneActionClosed or xtpPaneActionDeactivated.<br><br>Also other actions are defined in &nbsp;toolkitpro\Source\DockingPane\XTPDockingPaneDefines.h &nbsp;in enumeration &nbsp;XTPDockingPaneAction.<br><br>Regards,<br>&nbsp; Oleksandr Lebed<br>]]>
   </description>
   <pubDate>Wed, 24 Sep 2014 10:21:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22228&amp;PID=72789&amp;title=action-xtppaneactionunpinned-doesnt-update-view#72789</guid>
  </item> 
  <item>
   <title><![CDATA[Action xtpPaneActionUnpinned doesn&#039;t update view : Any update to this problem from...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22228&amp;PID=72683&amp;title=action-xtppaneactionunpinned-doesnt-update-view#72683</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4319">sdancer75</a><br /><strong>Subject:</strong> 22228<br /><strong>Posted:</strong> 25 July 2014 at 6:58am<br /><br />Any update to this problem from new releases ?]]>
   </description>
   <pubDate>Fri, 25 Jul 2014 06:58:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22228&amp;PID=72683&amp;title=action-xtppaneactionunpinned-doesnt-update-view#72683</guid>
  </item> 
  <item>
   <title><![CDATA[Action xtpPaneActionUnpinned doesn&#039;t update view : Thank you, I already tried this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22228&amp;PID=72338&amp;title=action-xtppaneactionunpinned-doesnt-update-view#72338</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4319">sdancer75</a><br /><strong>Subject:</strong> 22228<br /><strong>Posted:</strong> 11 March 2014 at 4:27am<br /><br />Thank you, I already tried this and it works, BUT I think (I dont remember right now) that RecalcLayout triggers a repaint message that codejock framework will trigger either way and I am getting two WM_PAINT messages which creates flicker.&nbsp;<div><br></div><div>As soon as I verify this, i will let you know.</div><div><br></div><div>Best Regards,</div><div><br></div><div>Edit :&nbsp;<span style="line-height: 1.4;">&nbsp;I get Debug Assertion error at "atlmfc/src/mfc/viewform.cpp" (see the code below), either using&nbsp;</span><span style="line-height: 1.4;">m_paneManager.RecalcFramesLayout(); or CFrameWnd:RecalcLayout(); since when message&nbsp;</span><span style="line-height: 1.4;"><i>xtpPaneActionPinned is&nbsp;</i>triggered the dialogform is not created yet ! In this case the RecalcLayers is not working :-(</span></div><div><br></div><div><br></div><div><br></div><div>atlmfc/src/mfc/viewform.cpp line 90</div><div><br></div><div><div>#ifdef _DEBUG</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>// dialog template must exist and be invisible with WS_CHILD set</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>if (!_AfxCheckDialogTemplate(m_lpszTemplateName, TRUE))</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>{</div><div><span ="Apple-tab-span" style="white-space:pre">		</span><b>ASSERT(FALSE); &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// invalid dialog template name</b></div><div><span ="Apple-tab-span" style="white-space:pre">		</span>PostNcDestroy(); &nbsp; &nbsp; &nbsp; &nbsp;// cleanup if Create fails too soon</div><div><span ="Apple-tab-span" style="white-space:pre">		</span>return FALSE;</div><div><span ="Apple-tab-span" style="white-space:pre">	</span>}</div><div>#endif //_DEBUG</div></div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Tue, 11 Mar 2014 04:27:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22228&amp;PID=72338&amp;title=action-xtppaneactionunpinned-doesnt-update-view#72338</guid>
  </item> 
  <item>
   <title><![CDATA[Action xtpPaneActionUnpinned doesn&#039;t update view : Hi,I had something similar happen...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22228&amp;PID=72329&amp;title=action-xtppaneactionunpinned-doesnt-update-view#72329</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 22228<br /><strong>Posted:</strong> 07 March 2014 at 7:39am<br /><br />Hi,<br><br>I had something similar happen to one of my C#.Net projects were I was using the TrackControl within a DockingPaneManager object. Basically the events would stop firing within this form, no matter what I did I just couldn't seem to get it to resolve itself.<br><br>However I manaually resolved this by calling the DockingPaneManager.RecalcLayout(); method to force the change to redraw the panes correctly.<br>]]>
   </description>
   <pubDate>Fri, 07 Mar 2014 07:39:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22228&amp;PID=72329&amp;title=action-xtppaneactionunpinned-doesnt-update-view#72329</guid>
  </item> 
  <item>
   <title><![CDATA[Action xtpPaneActionUnpinned doesn&#039;t update view :   sdancer75 wrote:Hi,Docking...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22228&amp;PID=72319&amp;title=action-xtppaneactionunpinned-doesnt-update-view#72319</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4319">sdancer75</a><br /><strong>Subject:</strong> 22228<br /><strong>Posted:</strong> 06 March 2014 at 12:59pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by sdancer75" alt="Originally posted by sdancer75" style="vertical-align: text-bottom;" /> <strong>sdancer75 wrote:</strong><br /><br />Hi,<div><br></div><div>Docking panes generally reduce or increase the client's space area that is enabled at the moment. Let's say a simple CView.</div><div><br></div><div>When actions&nbsp;<span style="line-height: 1.4;">"xtpPaneActionUnpinned" or "xtpPaneActionPinned"</span><span style="line-height: 1.4;">&nbsp;are captured, the client space of this CView is not updated to mirror the new space area.&nbsp;</span></div><div><br></div><div>So, how to know the new space area when one of the above actions are captured ?</div><div><br></div><div>Regards,</div><div><br></div><div><br></div></td></tr></table><div><br></div><div><i>GetClientArea(rect)</i> --&gt; returns the old dimensions for the client area which are as docking panes are still expanded. Of course it would updated later, but inside the&nbsp;<i>OnDockingPaneNotify </i>&nbsp;at the moment of event is triggered I get the old client area.&nbsp;</div><div><br></div><div>Any recommendation ?</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Thu, 06 Mar 2014 12:59:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22228&amp;PID=72319&amp;title=action-xtppaneactionunpinned-doesnt-update-view#72319</guid>
  </item> 
  <item>
   <title><![CDATA[Action xtpPaneActionUnpinned doesn&#039;t update view : Hi,Docking panes generally reduce...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22228&amp;PID=72312&amp;title=action-xtppaneactionunpinned-doesnt-update-view#72312</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4319">sdancer75</a><br /><strong>Subject:</strong> 22228<br /><strong>Posted:</strong> 04 March 2014 at 2:08pm<br /><br />Hi,<div><br></div><div>Docking panes generally reduce or increase the client's space area that is enabled at the moment. Let's say a simple CView.</div><div><br></div><div>When actions&nbsp;<span style="line-height: 1.4;">"xtpPaneActionUnpinned" or "xtpPaneActionPinned"</span><span style="line-height: 1.4;">&nbsp;are captured, the client space of this CView is not updated to mirror the new space area.&nbsp;</span></div><div><br></div><div>So, how to know the new space area when one of the above actions are captured ?</div><div><br></div><div>Regards,</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Tue, 04 Mar 2014 14:08:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22228&amp;PID=72312&amp;title=action-xtppaneactionunpinned-doesnt-update-view#72312</guid>
  </item> 
 </channel>
</rss>