<?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 : Disable stickers for undockable pane</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Disable stickers for undockable pane]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 21:49:12 +0000</pubDate>
  <lastBuildDate>Mon, 12 Sep 2005 08:14:51 +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=2790</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[Disable stickers for undockable pane : Here&amp;#039;s what I am doing right...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2790&amp;PID=8582&amp;title=disable-stickers-for-undockable-pane#8582</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1403">Louis</a><br /><strong>Subject:</strong> 2790<br /><strong>Posted:</strong> 12 September 2005 at 8:14am<br /><br /><P>Here's what I am doing right now. This also answers g_j_a_i_n question.</P><P>I still need a way to disable stickers, so that they don't show up for panes that cannot be docked.</P><P>To prevent a pane to dock, you need the message handler: <BR><FONT size=2>ON_MESSAGE(XTPWM_DOCKINGPANE_NOTIFY, OnDockingPaneNotify) in your message map.</FONT></P><P><FONT size=2>Then, in the handler itself you need to check for XTP_DPN_ACTION.<FONT size=2></P><FONT size=2><P>LRESULT CMainFrame::OnDockingPaneNotify(WPARAM wParam, LPARAM lParam)<BR>{<BR>&nbsp;&nbsp;&nbsp;&nbsp;</FONT></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2>( wParam == XTP_DPN_ACTION )<BR>&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT size=2>XTP_DOCKINGPANE_ACTION* pAction = (XTP_DOCKINGPANE_ACTION*)lParam;</P><P></FONT></FONT><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //Do not allow this pane to dock<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT><FONT size=2><FONT size=2>if</FONT><FONT size=2>( pAction-&gt;action == xtpPaneActionDocking || pAction-&gt;action == xtpPaneActionAttaching )<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR></FONT></FONT><FONT size=2><FONT color=#0000ff size=2><FONT color=#000000> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; </FONT>int</FONT><FONT size=2> nPaneID = pAction-&gt;pPane-&gt;GetID();<BR></FONT><FONT color=#0000ff size=2><FONT color=#000000> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; </FONT>if</FONT><FONT size=2>( nPaneID == MyPaneID )<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; {<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp; pAction-&gt;bCancel = TRUE;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> TRUE;<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;}</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</FONT><BR>&nbsp;&nbsp;&nbsp; }<BR>}</FONT></FONT><FONT size=2></P></FONT>]]>
   </description>
   <pubDate>Mon, 12 Sep 2005 08:14:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2790&amp;PID=8582&amp;title=disable-stickers-for-undockable-pane#8582</guid>
  </item> 
  <item>
   <title><![CDATA[Disable stickers for undockable pane : For the first question, Look...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2790&amp;PID=8431&amp;title=disable-stickers-for-undockable-pane#8431</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1338">Hazelnut</a><br /><strong>Subject:</strong> 2790<br /><strong>Posted:</strong> 30 August 2005 at 11:24pm<br /><br /><P><FONT color=#000000>For the first question,</FONT></P><P><FONT color=#000000>Look in XTPDockingPaneDefines.h ... it seems to have some options.</FONT></P><P><FONT color=#000000>xtpPaneNoCloseable, xtpPaneNoHideable,xtpPaneNoFloatable,xtpPaneNoCaption, xtpPaneHasMenuButton</FONT></P><P><FONT color=#000000>For the second question and possibly the first too, search for&nbsp; XTP_DOCKINGPANE_ACTION in the same file. It seems you'll have to watch for these actions and act on accordingly during the </FONT><FONT color=#000000>XTPWM_DOCKINGPANE_NOTIFY notification.</FONT><FONT color=#c000c0><FONT color=#808080></P></FONT></FONT>]]>
   </description>
   <pubDate>Tue, 30 Aug 2005 23:24:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2790&amp;PID=8431&amp;title=disable-stickers-for-undockable-pane#8431</guid>
  </item> 
  <item>
   <title><![CDATA[Disable stickers for undockable pane :   Sorry. I have come here not...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2790&amp;PID=8430&amp;title=disable-stickers-for-undockable-pane#8430</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1424">g_j_a_i_n</a><br /><strong>Subject:</strong> 2790<br /><strong>Posted:</strong> 30 August 2005 at 10:43pm<br /><br /><br><br>Sorry. I have come here not to provide a solution. But to ask you another question.<br><br>How can I disable docking of certain panes? I want to keep it always floating.<br><br>Regards,<br>Gautam Jain<br><br>]]>
   </description>
   <pubDate>Tue, 30 Aug 2005 22:43:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2790&amp;PID=8430&amp;title=disable-stickers-for-undockable-pane#8430</guid>
  </item> 
  <item>
   <title><![CDATA[Disable stickers for undockable pane : Hi, I have an application that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2790&amp;PID=8346&amp;title=disable-stickers-for-undockable-pane#8346</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1403">Louis</a><br /><strong>Subject:</strong> 2790<br /><strong>Posted:</strong> 25 August 2005 at 4:13pm<br /><br /><P>Hi,</P><P>I have an application that has docking panes and I want to be able to disallow docking for specific panes. I wass think of doing this when a pane is floated that pin button will act as a enable/disable docking. I think this is easy and found a sample that shows how. But, I also want stickers to NOT show when I start dragging a floated pane&nbsp;that has been pined (disallowed to dock). How can I do that ?</P><P>Louis.</P>]]>
   </description>
   <pubDate>Thu, 25 Aug 2005 16:13:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2790&amp;PID=8346&amp;title=disable-stickers-for-undockable-pane#8346</guid>
  </item> 
 </channel>
</rss>