<?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 : Pane-&gt;IsHidden() Misbehaving</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Pane-&gt;IsHidden() Misbehaving]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 23:55:12 +0000</pubDate>
  <lastBuildDate>Mon, 22 Mar 2004 23:46: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=551</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[Pane-&gt;IsHidden() Misbehaving : Strange. I see &amp;#034;Pane Hidden:...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=551&amp;PID=1421&amp;title=paneishidden-misbehaving#1421</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 551<br /><strong>Posted:</strong> 22 March 2004 at 11:46pm<br /><br />Strange. I see "Pane Hidden: 0" when it is not pinned.]]>
   </description>
   <pubDate>Mon, 22 Mar 2004 23:46:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=551&amp;PID=1421&amp;title=paneishidden-misbehaving#1421</guid>
  </item> 
  <item>
   <title><![CDATA[Pane-&gt;IsHidden() Misbehaving : When a pane is not pinned, the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=551&amp;PID=1405&amp;title=paneishidden-misbehaving#1405</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=395">DougW</a><br /><strong>Subject:</strong> 551<br /><strong>Posted:</strong> 19 March 2004 at 1:43pm<br /><br /><P>When a pane is not pinned, the IsHidden() method seems to be misbehaving.&nbsp; I have added a menu update handler to check or uncheck a menu item to let me know if a pane is hidden or not (forget close for now...that works).</P><P>In the menu update handler I check the pane-&gt;IsHidden and it always returns TRUE (pane is hidden) even when it's not.&nbsp; To reproduce, use the PaneSample project (samples\DockingPane\PaneSample).</P><P>I picked on PANE5 just to make this simple.&nbsp; Add a message map for the menu update in the cpp file as follows:</P><FONT size=2><P>ON_UPDATE_COMMAND_UI(IDR_PANE5, OnUpdateUI_Pane5)</P><P>Add the prototype to the header file:</P><FONT size=2><P>afx_msg </FONT><FONT color=#0000ff size=2>void</FONT><FONT size=2> OnUpdateUI_Pane5(CCmdUI* pCmdUI);</FONT></P><P><FONT size=2>Here's the handler for the cpp file:</FONT></P><FONT size=2><FONT color=#0000ff size=2><P>void</FONT><FONT size=2> CMainFrame::OnUpdateUI_Pane5(CCmdUI* pCmdUI)</P><P>{</P><P>&nbsp;&nbsp;&nbsp;&nbsp; BOOL bChecked = TRUE;</P><P>&nbsp;&nbsp;&nbsp;&nbsp; CXTPDockingPane* pToolBeltPane = GetDockingPaneManager()-&gt;FindPane(IDR_PANE5);</P><P></FONT><FONT color=#0000ff size=2><FONT color=#000000>&nbsp;&nbsp;&nbsp;&nbsp; </FONT>if</FONT><FONT size=2> (pToolBeltPane)</P><P>&nbsp;&nbsp;&nbsp;&nbsp; {</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TRACE("\n\nPane States\n");</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BOOL bClosed = pToolBeltPane-&gt;IsClosed();</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BOOL bFloating = pToolBeltPane-&gt;IsFloating();</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BOOL bFocus = pToolBeltPane-&gt;IsFocus();</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BOOL bHidden = pToolBeltPane-&gt;IsHidden();</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BOOL bSelected = pToolBeltPane-&gt;IsSelected();</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TRACE("Pane Closed: %d\n", bClosed);</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TRACE("Pane Floating: %d\n", bFloating);</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TRACE("Pane Focus: %d\n", bFocus);</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TRACE("Pane Hidden: %d\n", bHidden);</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TRACE("Pane Selected: %d\n", bSelected);</P><P>&nbsp;&nbsp;&nbsp;&nbsp; }</P><P>}</P><P>Run and watch the output window.&nbsp; Make pane5 un-pinned and visible (not hidden).&nbsp; Now go to the menus: Docking Pane / Pane </P><P>You'll see the results.</P></FONT></FONT></FONT>]]>
   </description>
   <pubDate>Fri, 19 Mar 2004 13:43:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=551&amp;PID=1405&amp;title=paneishidden-misbehaving#1405</guid>
  </item> 
 </channel>
</rss>