<?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 : &quot;XTPWM_DOCKINGPANE_NOTIFY&quot; message never comes</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Visual C++ MFC : &quot;XTPWM_DOCKINGPANE_NOTIFY&quot; message never comes]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 09 Apr 2026 23:37:19 +0000</pubDate>
  <lastBuildDate>Mon, 05 Jul 2010 01:24: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=16897</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[&quot;XTPWM_DOCKINGPANE_NOTIFY&quot; message never comes : It works.   Thanks. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16897&amp;PID=59217&amp;title=xtpwm-dockingpane-notify-message-never-comes#59217</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6203">xc-sfit</a><br /><strong>Subject:</strong> 16897<br /><strong>Posted:</strong> 05 July 2010 at 1:24am<br /><br />It works. <DIV>&nbsp;</DIV><DIV>Thanks.&nbsp; <img src="http://forum.codejock.com/smileys/smiley1.gif" border="0"></DIV>]]>
   </description>
   <pubDate>Mon, 05 Jul 2010 01:24:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16897&amp;PID=59217&amp;title=xtpwm-dockingpane-notify-message-never-comes#59217</guid>
  </item> 
  <item>
   <title><![CDATA[&quot;XTPWM_DOCKINGPANE_NOTIFY&quot; message never comes : maybe because CRect(0,0,0,0)....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16897&amp;PID=59175&amp;title=xtpwm-dockingpane-notify-message-never-comes#59175</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 16897<br /><strong>Posted:</strong> 01 July 2010 at 4:47am<br /><br />maybe because CRect(0,0,0,0).  Try to change to CRect(0, 0, 200, 200);<br /><br />XTP_DPN_SHOWWINDOW is sent only when Pane become visible...]]>
   </description>
   <pubDate>Thu, 01 Jul 2010 04:47:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16897&amp;PID=59175&amp;title=xtpwm-dockingpane-notify-message-never-comes#59175</guid>
  </item> 
  <item>
   <title><![CDATA[&quot;XTPWM_DOCKINGPANE_NOTIFY&quot; message never comes : I refer to the example code to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16897&amp;PID=59171&amp;title=xtpwm-dockingpane-notify-message-never-comes#59171</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6203">xc-sfit</a><br /><strong>Subject:</strong> 16897<br /><strong>Posted:</strong> 30 June 2010 at 10:26pm<br /><br />I refer to the example code to try to add a docking pane in my window.<DIV>&nbsp;</DIV><DIV>I add the following code into the "OnCreate" function of the window:</DIV><DIV>&nbsp; m_paneManager.InstallDockingPanes(this);<BR>&nbsp; m_paneManager.SetTheme(xtpPaneThemeOffice2003);<BR>&nbsp; m_paneManager.SetDefaultPaneOptions(xtpPaneNoCloseable|xtpPaneNoDockable|xtpPaneNoFloatable);<BR>&nbsp; m_paneManager.CreatePane(ID_DOCK, CRect(0,0,0,0), xtpPaneDockTop);</DIV><DIV>&nbsp;</DIV><DIV>And I add ON_MESSAGE(XTPWM_DOCKINGPANE_NOTIFY, OnDockingPaneNotify) in the message map definition. In the OnDockingPaneNotify function, I handle the case "wParam == XTP_DPN_SHOWWINDOW" just like the example code.</DIV><DIV>&nbsp;</DIV><DIV>When I run my app, the docking pane doesn't been created correctly. I debug the program and find that the function OnDockingPaneNotify doesn't been&nbsp;called. It seems that the "XTPWM_DOCKINGPANE_NOTIFY" message with the wParam "XTP_DPN_SHOWWINDOW" doesn't&nbsp; been&nbsp;sent to my window. Then, I change my code above in the "OnCreate" function to:</DIV><DIV>&nbsp; m_paneManager.InstallDockingPanes(this);<BR>&nbsp; m_paneManager.SetTheme(xtpPaneThemeOffice2003);<BR>&nbsp; m_paneManager.SetDefaultPaneOptions(xtpPaneNoCloseable|xtpPaneNoDockable|xtpPaneNoFloatable);</DIV><DIV>&nbsp; CXTPDockingPane * pPane = m_paneManager.CreatePane(ID_DOCK, CRect(0,0,0,0), xtpPaneDockTop);<BR>&nbsp; this-&gt;SendMessage(XTPWM_DOCKINGPANE_NOTIFY, (WPARAM)XTP_DPN_SHOWWINDOW, (LPARAM)pPane);</DIV><DIV>&nbsp;</DIV><DIV>This time everything is OK. The pane can be created properly, but I wonder why this could be happen. In the example code, it is no need to send the XTPWM_DOCKINGPANE_NOTIFY message.</DIV><DIV>&nbsp;</DIV><DIV>My env is </DIV><DIV>&nbsp;</DIV><DIV>Product: Xtreme ToolkitPro v12.0.2<BR>Platform: Windows 7 (32bit)<BR>Language: Visual C++ 9.0 (VS 2008)</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 30 Jun 2010 22:26:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16897&amp;PID=59171&amp;title=xtpwm-dockingpane-notify-message-never-comes#59171</guid>
  </item> 
 </channel>
</rss>