<?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 : Don&#039;t get notifications of task panel</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Don&#039;t get notifications of task panel]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 08:28:33 +0000</pubDate>
  <lastBuildDate>Thu, 21 Sep 2006 09:17:10 +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=5113</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[Don&#039;t get notifications of task panel : Hi,Overriding CXTPTaskPanelGroupItem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5113&amp;PID=15965&amp;title=dont-get-notifications-of-task-panel#15965</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1519">mailhaim</a><br /><strong>Subject:</strong> 5113<br /><strong>Posted:</strong> 21 September 2006 at 9:17am<br /><br />Hi,<br>Overriding CXTPTaskPanelGroupItem done the job. Thanks again.<br><br>Code snippest:<br>class CComponentsTaskPanelItem : public CXTPTaskPanelGroupItem<br>{<br>&nbsp;&nbsp;&nbsp; virtual BOOL IsAcceptFocus() { return TRUE; }<br>};<br><br>CComponentsTaskPanelItem* pItem = new CComponentsTaskPanelItem();<br>pItem-&gt;SetType(xtpTaskItemTypeText);<br>pItem-&gt;SetCaption(pGroupMember-&gt;text);<br>pItem-&gt;AllowDrag(0x80);&nbsp;&nbsp;&nbsp; // xtpTaskItemAllowDragMoveOutsideControl<br> pItem-&gt;SetIconIndex(pGroupMember-&gt;iconIndex);<br>pItem-&gt;SetID(pGroupMember-&gt;id);<br> m_pTPGroup-&gt;GetItems()-&gt;Add(pItem, pGroupMember-&gt;id);<br>]]>
   </description>
   <pubDate>Thu, 21 Sep 2006 09:17:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5113&amp;PID=15965&amp;title=dont-get-notifications-of-task-panel#15965</guid>
  </item> 
  <item>
   <title><![CDATA[Don&#039;t get notifications of task panel : Hi Oleg,Thanks for the tipe. It...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5113&amp;PID=15964&amp;title=dont-get-notifications-of-task-panel#15964</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1519">mailhaim</a><br /><strong>Subject:</strong> 5113<br /><strong>Posted:</strong> 21 September 2006 at 8:47am<br /><br />Hi Oleg,<br>Thanks for the tipe. <br>It seems that dragging is only supported for groups and link items (see CXTPTaskPanelItem::IsAcceptFocus()) and I have text items<br><br>I believe that deriving an item and overrriding IsAcceptFocus() will do the trick, but I'm not sure if I should override CXTPTaskPanelGroupItem or CXTPTaskPanelItem. <br><br>What do you say? Is there another way?<br><br><br>]]>
   </description>
   <pubDate>Thu, 21 Sep 2006 08:47:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5113&amp;PID=15964&amp;title=dont-get-notifications-of-task-panel#15964</guid>
  </item> 
  <item>
   <title><![CDATA[Don&#039;t get notifications of task panel : Hello,  XTPWM_TASKPANEL_NOTIFY...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5113&amp;PID=15958&amp;title=dont-get-notifications-of-task-panel#15958</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5113<br /><strong>Posted:</strong> 21 September 2006 at 7:29am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>XTPWM_TASKPANEL_NOTIFY&nbsp; with code = XTP_TPN_STARTDRAG must be send. Try to set breakpoint in CXTPTaskPanel::OnStartItemDrag and check it was called.</DIV>]]>
   </description>
   <pubDate>Thu, 21 Sep 2006 07:29:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5113&amp;PID=15958&amp;title=dont-get-notifications-of-task-panel#15958</guid>
  </item> 
  <item>
   <title><![CDATA[Don&#039;t get notifications of task panel : Hi,I have a shortcut bar inside...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5113&amp;PID=15953&amp;title=dont-get-notifications-of-task-panel#15953</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1519">mailhaim</a><br /><strong>Subject:</strong> 5113<br /><strong>Posted:</strong> 21 September 2006 at 5:37am<br /><br />Hi,<br>I have a shortcut bar inside a docking pane. <br>One of the shortcut bar panes implemented as derived task panel class.<br>For some reason my override to OnStartItemDrag does NOT get called.<br>Trying to catch XTPWM_TASKPANEL_NOTIFY in main frame window (owner of the task panel) FAILS also.<br><br>What is the problem here?<br><br>Here is a code snippest:<br><br>In MainFrm.h:<br>CXTPShortcutBar &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; m_modelsShortcutBar;<br> CXTPShortcutBarPane &nbsp;&nbsp;&nbsp; m_basicShortcutBarPane;<br>CComponentsTaskPanel m_basicTaskPanel;&nbsp;&nbsp;  // derived from CXTPTaskPanel<br><br>In MainFrm.cpp (OnCreate)<br>// Shortcut Bar<br>m_modelsShortcutBar.Create( WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | WS_CLIPSIBLINGS, CRect(0, 0, 0, 0), this,&nbsp; IDC_MODELS_SHORTCUT_BAR_ID);<br>m_modelsShortcutBar.SetOwner(this);<br> // Shortcut Bar Pane<br> VERIFY(m_basicShortcutBarPane.Create(_T("Basic Components"), &amp;m_modelsShortcutBar));&nbsp;&nbsp;&nbsp; <br>CXTPShortcutBarItem* pBasicShortcutBarPane = m_modelsShortcutBar.AddItem(ID_MODELS_SHORTCUT_BAR_COMPONENTS_ID, &amp;m_basicShortcutBarPane);<br>// Task Panel &nbsp;&nbsp; VERIFY(m_basicTaskPanel.Create(WS_CHILD|WS_VISIBLE|WS_CLIPSIBLINGS|WS_CLIPCHILDREN, CRect(0, 0, 0, 0), &amp;m_basicShortcutBarPane, 0));<br>m_basicShortcutBarPane.AddItem(_T("Basic Components"), &amp;m_basicTaskPanel, 115);<br>m_basicTaskPanel.SetOwner(this);&nbsp;&nbsp;&nbsp; <br><br>From CComponentsTaskPanel::OnCreate:<br>{<br>&nbsp;&nbsp;&nbsp; ...<br>&nbsp;&nbsp;&nbsp; int res = CXTPTaskPanel::OnCreate(lpCreateStruct);<br>&nbsp;&nbsp;&nbsp; AllowDrag(0x01);&nbsp;&nbsp;&nbsp; // 0x80: xtpTaskItemAllowDragMoveOutsideControl<br>&nbsp;&nbsp;&nbsp; ...<br>&nbsp;&nbsp;&nbsp; return res;<br>}<br><br>Please helppp....<br><br>]]>
   </description>
   <pubDate>Thu, 21 Sep 2006 05:37:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5113&amp;PID=15953&amp;title=dont-get-notifications-of-task-panel#15953</guid>
  </item> 
 </channel>
</rss>