<?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 : TaskPanel with DockingPane</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Task Panel : TaskPanel with DockingPane]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 10:08:56 +0000</pubDate>
  <lastBuildDate>Wed, 19 Dec 2007 12:12:46 +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=9140</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[TaskPanel with DockingPane : thanks oleg ! it nowworks perfect...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9140&amp;PID=29605&amp;title=taskpanel-with-dockingpane#29605</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3598">MeikeT</a><br /><strong>Subject:</strong> 9140<br /><strong>Posted:</strong> 19 December 2007 at 12:12pm<br /><br />thanks oleg !<DIV>it now&nbsp;works perfect :-)</DIV>]]>
   </description>
   <pubDate>Wed, 19 Dec 2007 12:12:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9140&amp;PID=29605&amp;title=taskpanel-with-dockingpane#29605</guid>
  </item> 
  <item>
   <title><![CDATA[TaskPanel with DockingPane : Add  m_wndToolPanel.SetOwner(this);...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9140&amp;PID=29592&amp;title=taskpanel-with-dockingpane#29592</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 9140<br /><strong>Posted:</strong> 19 December 2007 at 11:02am<br /><br />Add<DIV>&nbsp;</DIV><DIV><FONT face="Courier New" size=2>m_wndToolPanel.SetOwner(this);</FONT></DIV>]]>
   </description>
   <pubDate>Wed, 19 Dec 2007 11:02:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9140&amp;PID=29592&amp;title=taskpanel-with-dockingpane#29592</guid>
  </item> 
  <item>
   <title><![CDATA[TaskPanel with DockingPane : Hi, I&amp;#039;m trying to add a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=9140&amp;PID=29574&amp;title=taskpanel-with-dockingpane#29574</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3598">MeikeT</a><br /><strong>Subject:</strong> 9140<br /><strong>Posted:</strong> 19 December 2007 at 2:35am<br /><br />Hi,<DIV>I'm trying to add a fixed CXTPTaskPanel inside <FONT size=2>CXTPDockingPane on the left side of my <FONT size=2>CXTPMDIFrameWnd. Therefore I use the following code:</FONT></FONT></DIV><DIV><FONT color=#0000ff size=2></FONT>&nbsp;</DIV><DIV><FONT face="Courier New, Courier, mono" color=#000000 size=2>--- MainFrm.h ---</FONT></DIV><DIV><FONT face="Courier New, Courier, mono" color=#000000 size=2>class CMainFrame {</FONT></DIV><DIV><FONT face="Courier New, Courier, mono" color=#000000 size=2>...</FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono" color=#000000 size=2>CXTPDockingPaneManager m_paneManager;</FONT></FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono" color=#000000 size=2>CXTPTaskPanel m_wndToolPanel;</FONT></FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono" color=#000000 size=2>...</FONT></FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono" color=#000000 size=2>}</FONT></FONT></DIV><DIV><FONT size=2><FONT face="Courier New, Courier, mono" color=#000000 size=2></FONT></FONT>&nbsp;</DIV><DIV><FONT size=2><FONT size=2><FONT face="Courier New, Courier, mono" color=#000000>--- MainFrm.cpp ---</FONT></DIV><DIV><DIV></FONT><FONT face="Courier New, Courier, mono" color=#000000>int</FONT></FONT><FONT face="Courier New, Courier, mono" color=#000000 size=2> CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)</FONT></DIV></DIV><DIV><FONT face="Courier New, Courier, mono" color=#000000 size=2>{</FONT></DIV><DIV><FONT face="Courier New, Courier, mono" color=#000000 size=2>...</FONT></DIV><DIV><FONT size=2><FONT color=#000000><FONT face="Courier New, Courier, mono"><FONT size=2>m_paneManager.InstallDockingPanes(</FONT><FONT size=2>this</FONT></FONT></FONT><FONT face="Courier New, Courier, mono" color=#000000 size=2>);<BR></FONT></FONT></DIV><DIV><FONT color=#000000><FONT face="Courier New, Courier, mono"><FONT size=2><FONT size=2>// create panel on the left side<BR></FONT></FONT><FONT size=2><FONT size=2><FONT size=2>CXTPDockingPane* tmpPanel = m_paneManager.CreatePane(IDR_PANETOOL, CRect(0, 0, 200, 0), xtpPaneDockLeft);</FONT></FONT></FONT></FONT></FONT></DIV><DIV><FONT size=2><FONT size=2><FONT face="Courier New, Courier, mono" color=#000000 size=2></FONT></FONT></FONT>&nbsp;</DIV><DIV><FONT size=2><FONT size=2><FONT color=#000000><FONT face="Courier New, Courier, mono"><FONT size=2>// create the taskbar<BR>m_wndToolPanel.Create(WS_CHILD|WS_VISIBLE|WS_CLIPSIBLINGS|WS_CLIPCHILDREN|WS_TABSTOP,CXTPEmptyRect),</FONT><FONT size=2>this</FONT></FONT></FONT><FONT face="Courier New, Courier, mono" color=#000000 size=2>, 0);<BR></FONT></FONT></FONT></DIV><DIV><FONT size=2><FONT size=2><FONT face="Courier New, Courier, mono" color=#000000 size=2>// add taskbar to panel</FONT></FONT></FONT></DIV><DIV><FONT size=2><FONT size=2><FONT size=2><FONT face="Courier New, Courier, mono" color=#000000 size=2>tmpPanel-&gt;Attach(&amp;m_wndToolPanel);</FONT></FONT></FONT></FONT></DIV><DIV><FONT size=2><FONT size=2><FONT face="Courier New, Courier, mono" color=#000000 size=2></FONT></FONT></FONT>&nbsp;</DIV><DIV><FONT size=2><FONT size=2><FONT size=2><FONT face="Courier New, Courier, mono" color=#000000>// populate with items<BR></FONT><FONT face="Courier New, Courier, mono" color=#000000 size=2>CXTPTaskPanelGroup *tmpGroup = m_wndToolPanel.AddGroup(IDS_GROUPCMD);<BR>tmpGroup-&gt;AddLinkItem(IDS_GROUPCURADD, 0);<BR>tmpGroup-&gt;AddLinkItem(IDS_GROUPCURDEL, 1);</FONT></FONT></FONT></FONT></DIV><DIV><FONT size=2><FONT size=2><FONT face="Courier New, Courier, mono" color=#000000 size=2>...</FONT></FONT></FONT></DIV><DIV><FONT size=2><FONT size=2><FONT face="Courier New, Courier, mono" color=#000000 size=2>}</FONT></FONT></FONT></DIV><DIV><FONT size=2><FONT size=2><FONT size=2></FONT></FONT></FONT>&nbsp;</DIV><DIV><FONT size=2><FONT size=2><FONT size=2>all this is working correctly and the bars shows up as expected.</FONT></FONT></FONT></DIV><DIV><FONT size=2><FONT size=2><FONT size=2>However I can't get <FONT size=2>XTPWM_TASKPANEL_NOTIFY to work and can't handle mouse-clicks on my links.</FONT></FONT></FONT></FONT></DIV><DIV><FONT size=2><FONT size=2><FONT size=2>I added a<BR></DIV><FONT size=2><P><FONT face="Courier New, Courier, mono">ON_MESSAGE(XTPWM_TASKPANEL_NOTIFY, OnToolPanelNotify)</FONT></P><DIV></DIV><DIV>to the message map of CMainFrm&nbsp;and I have a test function:</DIV><DIV><FONT size=2><P><FONT face="Courier New, Courier, mono">LRESULT CMainFrame::OnToolPanelNotify(WPARAM wParam, LPARAM lParam)<BR>{<BR>if(wParam != XTP_TPN_CLICK)<BR>return 0;<BR>AfxMessageBox("test");<BR>}</FONT></P><DIV>Any idea how to solve this ?</DIV><DIV>Thanks</DIV><DIV>Meike</DIV></FONT></FONT></DIV></FONT></FONT></FONT>]]>
   </description>
   <pubDate>Wed, 19 Dec 2007 02:35:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=9140&amp;PID=29574&amp;title=taskpanel-with-dockingpane#29574</guid>
  </item> 
 </channel>
</rss>