<?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 : Excepti&#111;n occurs trying to collapse pane</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Excepti&#111;n occurs trying to collapse pane]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 00:53:42 +0000</pubDate>
  <lastBuildDate>Thu, 01 Dec 2005 09:03:35 +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=3323</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[Excepti&#111;n occurs trying to collapse pane : The following are steps required...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3323&amp;PID=9948&amp;title=exception-occurs-trying-to-collapse-pane#9948</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1649">thawary</a><br /><strong>Subject:</strong> 3323<br /><strong>Posted:</strong> 01 December 2005 at 9:03am<br /><br /><P>The following are steps required to create the problem:</P><P>1) Dock a pane<BR>2) Press the pin on the top of the pane to autohide it<BR>3) Press on the pane to show it (Expand the pane)<BR>3) do something that takes time in the application while the pane is not hidden (not collapsed)<BR>4) Wait for a second and try to collapse the pane by pressing on the pin while the lengthy operation is taking place<BR>5) The following exception occurs:</P><P>"System.NullReferenceException: Object reference not set to an instance of an object.<BR>&nbsp;&nbsp; at  System.Windows.Forms.UnsafeNativeMethods.DispatchMessageA(MS G&amp; msg)<BR>&nbsp;&nbsp; at  System.Windows.Forms.ComponentManager.System.Windows.Forms.U nsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int 32 dwComponentID, Int32 reason, Int32 pvLoopData)<BR>&nbsp;&nbsp; at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)<BR>&nbsp;&nbsp; at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)<BR>&nbsp;&nbsp; at System.Windows.Forms.Application.Run(Form mainForm)"</P><P>and i think it happens because the lengthy operation freezes the screen while the docking manager internally or something collapses the pane, but it is still expanded in front of the user so when he presses the pin again the null reference exception happens in your docking manager</P>]]>
   </description>
   <pubDate>Thu, 01 Dec 2005 09:03:35 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3323&amp;PID=9948&amp;title=exception-occurs-trying-to-collapse-pane#9948</guid>
  </item> 
 </channel>
</rss>