<?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 : [Closed] Questi&#111;n: Show / Hide Logic</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : [Closed] Questi&#111;n: Show / Hide Logic]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 04:13:36 +0000</pubDate>
  <lastBuildDate>Wed, 03 Mar 2010 16:28:07 +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=3079</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[[Closed] Questi&#111;n: Show / Hide Logic : I was looking for a way to cause...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3079&amp;PID=57343&amp;title=closed-question-show-hide-logic#57343</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3003">mrmathis</a><br /><strong>Subject:</strong> 3079<br /><strong>Posted:</strong> 03 March 2010 at 4:28pm<br /><br />I was looking for a way to cause a pane with focus to collapse, and this fit my bill.&nbsp; I implemented it by subclassing CXTPDockingPaneAutoHidePanel and catching OnLButtonDown, rather than changing Codejock code.&nbsp; I'm not wild about either approach, though, since both leave me vulnerable to changes from Codejock.&nbsp; Since the original posts are old, I'm wondering whether&nbsp;some better way to do this might be available now?<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 03 Mar 2010 16:28:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3079&amp;PID=57343&amp;title=closed-question-show-hide-logic#57343</guid>
  </item> 
  <item>
   <title><![CDATA[[Closed] Questi&#111;n: Show / Hide Logic : FWIW I have looked at CXTPDock...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3079&amp;PID=9222&amp;title=closed-question-show-hide-logic#9222</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 3079<br /><strong>Posted:</strong> 25 October 2005 at 3:08am<br /><br /><P>FWIW I have looked at <strong><EM>CXTPDockingPaneAutoHidePanel::OnLButtonDown</EM></strong> and changed the logic so that clicking on the tab of a selected pane which has focus results in the pane being closed, this way I have acheived what I want.<BR><BR><FONT face="Courier New, Courier, mono" size=1>void CXTPDockingPaneAutoHidePanel::OnLButtonDown(UINT /*nFlags*/, CPoint point)<BR>{<BR>&nbsp;CXTPDockingPane* pPane = HitTest(point);<BR>&nbsp;if (pPane)<BR>&nbsp;{<BR>&nbsp;&nbsp;if (m_pActiveWnd &amp;&amp; m_pActiveWnd-&gt;m_pPane-&gt;GetSelected() == pPane)<BR>&nbsp;&nbsp;{<BR>#pragma message ("*** OnLButtonDown changed ++" __FILE__)<BR>&nbsp;&nbsp;&nbsp;//<BR>&nbsp;&nbsp;&nbsp;//&nbsp;New - if focus then hide.<BR>&nbsp;&nbsp;&nbsp;//<BR>&nbsp;&nbsp;&nbsp;if (pPane-&gt;IsFocus())<BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;CloseActiveWindow();<BR>&nbsp;&nbsp;&nbsp;&nbsp;KillTimer(TID_SLIDEIN);<BR>&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;else<BR>&nbsp;&nbsp;&nbsp;&nbsp;pPane-&gt;SetFocus();</FONT></P><P><FONT face="Courier New, Courier, mono" size=1>&nbsp;&nbsp;&nbsp;//<BR>&nbsp;&nbsp;&nbsp;//&nbsp;Original.<BR>&nbsp;&nbsp;&nbsp;//<BR>&nbsp;&nbsp;&nbsp;//&nbsp;pPane-&gt;SetFocus();<BR>#pragma message ("*** OnLButtonDown changed --" __FILE__)</FONT></P><P><FONT face="Courier New, Courier, mono" size=1>&nbsp;&nbsp;} else<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;CloseActiveWindow();<BR>&nbsp;&nbsp;&nbsp;ShowPane(pPane);<BR>&nbsp;&nbsp;}<BR>&nbsp;}<BR>}<BR></FONT></P>]]>
   </description>
   <pubDate>Tue, 25 Oct 2005 03:08:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3079&amp;PID=9222&amp;title=closed-question-show-hide-logic#9222</guid>
  </item> 
  <item>
   <title><![CDATA[[Closed] Questi&#111;n: Show / Hide Logic : Imagine a standard MDI application...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3079&amp;PID=9183&amp;title=closed-question-show-hide-logic#9183</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 3079<br /><strong>Posted:</strong> 22 October 2005 at 5:04am<br /><br /><P>Imagine a standard MDI application with a single docking window where the docking window (the CodeJock calendar) is displayed and selected:<BR><BR><IMG src="http://www.hb9drv.ch/dickydock.jpg" border="0"></P><P>The question: as the calendar is active, what should you user do to hide it? I've not really come up with a good solution other than:<BR><BR>* Add a button next to the pin to hide (not &#091;X&#093; close) the window.<BR>* If you click on the title bar (where the calendar text and pin is displayed) then the window should hide itself.<BR><BR>But what's the advice from those who know? Clicking in the MDI views is not an option.<BR><BR>Thanks for the excellent software,</P><span style="font-size:10px"><br /><br />Edited by Simon HB9DRV</span>]]>
   </description>
   <pubDate>Sat, 22 Oct 2005 05:04:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3079&amp;PID=9183&amp;title=closed-question-show-hide-logic#9183</guid>
  </item> 
 </channel>
</rss>