<?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 : Task Panel</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Task Panel : Last 10 Posts]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 05:57:13 +0000</pubDate>
  <lastBuildDate>Mon, 12 Oct 2015 15:04:47 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>30</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_topic_feed.asp?FID=134</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[Task Panel : Task panel group chevrons upside down?]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22754&amp;PID=74011&amp;title=task-panel-group-chevrons-upside-down#74011</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> Task panel group chevrons upside down?<br /><strong>Posted:</strong> 12 October 2015 at 3:04pm<br /><br />CJ 17 Beta 3.<br><br>In Beta 3 CXTPTaskPanelPaintManager::DrawCaptionGripperSigns appears to have the shift up/down (chevron) images backwards for the Office 2000 theme, at least when compared to 16.3. I see the code changed from using GDI to draw thick lines to using a "Codejock" font. Is it possible the xtpPrimitiveSymbolShiftUp/Down symbols are mixed up for Office 2000?<br><br>I built the task panel sample and depending on the theme selected, the display is wrong there too. For instance, I built the sample with 16.3 and 17 beta 3 and pick the Office 2000 theme and the chevrons are reversed in the samples.<br><br>The interpretation of what is used to show the group is expanded or collapsed may have changed. By design or is this a bug? Currently, users are telling me it is a bug. The chevrons point down when the group is expanded, and up when it is not expanded.<br>]]>
   </description>
   <pubDate>Mon, 12 Oct 2015 15:04:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22754&amp;PID=74011&amp;title=task-panel-group-chevrons-upside-down#74011</guid>
  </item> 
  <item>
   <title><![CDATA[Task Panel : Dragging CXTPTaskPanelGroupItem leaks or crashes.]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22577&amp;PID=73257&amp;title=dragging-cxtptaskpanelgroupitem-leaks-or-crashes#73257</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8172">Mazeppa</a><br /><strong>Subject:</strong> Dragging CXTPTaskPanelGroupItem leaks or crashes.<br /><strong>Posted:</strong> 17 April 2015 at 12:59pm<br /><br />I may have answered my own question. Instead of deleting pItemDrop, I called pItemDrop-&gt;ExternalRelease(). That seems to stop the leaks in a Debug build, and it doesn't crash in a Release build. Someone let me know if I should be calling InternalRelease() instead.]]>
   </description>
   <pubDate>Fri, 17 Apr 2015 12:59:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22577&amp;PID=73257&amp;title=dragging-cxtptaskpanelgroupitem-leaks-or-crashes#73257</guid>
  </item> 
  <item>
   <title><![CDATA[Task Panel : Dragging CXTPTaskPanelGroupItem leaks or crashes.]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22577&amp;PID=73256&amp;title=dragging-cxtptaskpanelgroupitem-leaks-or-crashes#73256</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8172">Mazeppa</a><br /><strong>Subject:</strong> Dragging CXTPTaskPanelGroupItem leaks or crashes.<br /><strong>Posted:</strong> 17 April 2015 at 12:40pm<br /><br />I'm using the Task Panel from ToolKitPro in my MFC app.&nbsp;<span style="line-height: 1.4;">I allow users to drag items out of the TaskPanel and drop them into an open document.&nbsp;</span><span style="line-height: 1.4;">I noticed that a TaskPanelGroupItem was leaking twice every time someone dropped one into a document.</span><div><span style="line-height: 1.4;"><br></span></div><div><span style="line-height: 1.4;">The leaks are occurring in my DragOver and Drop methods. In each method, I have code like this:</span></div><div><span style="line-height: 1.4;"><br></span></div><div><div><font face="Courier New, Courier, mono"><table width="99%"><tr><td><pre class="BBcode"></font></div><div><font face="Courier New, Courier, mono">CXTPTaskPanelGroupItem* pItemDrop = (CXTPTaskPanelGroupItem*)CXTPTaskPanelItem::CreateFromOleData(pDataObject);</font></div><div style="line-height: 1.4;"><font face="Courier New, Courier, mono">if (pItemDrop)</font></div></div><div style="line-height: 1.4;"><font face="Courier New, Courier, mono">{</font></div><div style="line-height: 1.4;"><font face="Courier New, Courier, mono">...</font></div><div style="line-height: 1.4;"><font face="Courier New, Courier, mono">}</font></div><div style="line-height: 1.4;"><font face="Courier New, Courier, mono"></pre></td></tr></table></font></div><div style="line-height: 1.4;"><br></div><div style="line-height: 1.4;">So I added a <font face="Courier New, Courier, mono">delete pItemDrop </font>before the end brace in both cases. This works great in a Debug build and stops the leaks. But in a Release build, it crashes hard the instant I call delete.</div><div style="line-height: 1.4;"><br></div><div style="line-height: 1.4;">What should I do to keep it from leaking or crashing?</div>]]>
   </description>
   <pubDate>Fri, 17 Apr 2015 12:40:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22577&amp;PID=73256&amp;title=dragging-cxtptaskpanelgroupitem-leaks-or-crashes#73256</guid>
  </item> 
  <item>
   <title><![CDATA[Task Panel : IsAllowDrag()]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17378&amp;PID=72382&amp;title=isallowdrag#72382</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3301">Michl</a><br /><strong>Subject:</strong> IsAllowDrag()<br /><strong>Posted:</strong> 25 March 2014 at 4:10am<br /><br />T<span id="result_" ="" lang="en"><span ="hps">he implementation is</span> <span ="hps">still the same</span><span ="">!</span> <br =""><br =""><span ="hps">Has</span> <span ="hps">anyone ever</span> <span ="hps">read</span> <span ="hps">the contribution</span> <span ="hps">from the</span> <span ="hps">Codejock</span> <span ="hps">guys</span><span ="">?</span> <br =""><span ="hps">No</span> <span ="hps">fix</span><span ="">, nor a</span> <span ="hps">commentary on it</span><span ="">?</span></span><br>]]>
   </description>
   <pubDate>Tue, 25 Mar 2014 04:10:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17378&amp;PID=72382&amp;title=isallowdrag#72382</guid>
  </item> 
  <item>
   <title><![CDATA[Task Panel : Keep focus rectangle on lost focus]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22250&amp;PID=72379&amp;title=keep-focus-rectangle-on-lost-focus#72379</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3301">Michl</a><br /><strong>Subject:</strong> Keep focus rectangle on lost focus<br /><strong>Posted:</strong> 24 March 2014 at 6:30am<br /><br />Hello<br><br>Is this feature beside the point?<br>That's not easy to implement in current achitecture of codejock.<br><br>Problem 1:<br>Rectangle is disabled in <font face="Times New Roman, Times, serif">OnKillFocus</font>.<br><br><table width="99%"><tr><td><pre class="BBcode"><br>void CXTPTaskPanel::OnKillFocus(CWnd* pNewWnd)<br>{<br>&nbsp;&nbsp;&nbsp; CWnd::OnKillFocus(pNewWnd);<br><br>&nbsp;&nbsp;&nbsp; <font color="#FF0000">m_bDrawFocusRect = FALSE;</font><br><br>&nbsp;&nbsp;&nbsp; Redraw();<br><br>}<br></pre></td></tr></table><br><br><br>Problem 2:<br><font face="Courier New, Courier, mono">IsDrawFocusRect</font> returns always false because <font face="Courier New, Courier, mono">::GetFocus() == m_hWnd</font><br><br><table width="99%"><tr><td><pre class="BBcode"><br>int CXTPTaskPanelToolboxTheme::DrawGroupCaption(CDC* pDC, CXTPTaskPanelGroup* pGroup, BOOL bDraw)<br>{<br>&nbsp;&nbsp; ...<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (pGroup-&gt;IsItemFocused() &amp;&amp; pGroup-&gt;GetTaskPanel()-&gt;IsDrawFocusRect())<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; rcText.DeflateRect(-1, 2);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; DrawFocusRect(pDC, rcText);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp; ...<br>}<br><br>BOOL CXTPTaskPanel::IsDrawFocusRect() const<br>{<br>&nbsp;&nbsp;&nbsp; return m_bDrawFocusRect &amp;&amp; (<font color="#FF0000">::GetFocus() == m_hWnd</font>);<br>}<br><br></pre></td></tr></table><br><br>Unfortunately <font face="Courier New, Courier, mono">IsDrawFocusRect()</font> isn't virtual.<br><br>Make it sense to change <font face="Courier New, Courier, mono">m_bDrawFocusRect</font> into an enumerator with 3 states?<br>- None<br>- DrawFocusRectActive<br>- DrawFocusRectAlways<br><br>Thanks<br>]]>
   </description>
   <pubDate>Mon, 24 Mar 2014 06:30:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22250&amp;PID=72379&amp;title=keep-focus-rectangle-on-lost-focus#72379</guid>
  </item> 
  <item>
   <title><![CDATA[Task Panel : Task Panel color setting]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21823&amp;PID=71458&amp;title=task-panel-color-setting#71458</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7628">fredliu</a><br /><strong>Subject:</strong> Task Panel color setting<br /><strong>Posted:</strong> 29 July 2013 at 7:34am<br /><br />Hi,<div>When I set theme of task&nbsp;panel&nbsp;to xtpTaskPanelThemeVisualStudio2012Light or xtpTaskPanelThemeVisualStudio2012Light, then seem the statement GetPaintManager()-&gt;GetGroupColors(FALSE)-&gt;clrHead = 0x727c8a doesn't work, but statement GetPaintManager()-&gt;GetGroupColors(FALSE)-&gt;clrClient = 0x727c8a work, why this happen ?</div><div>&nbsp;</div><div>And I want to set all color in task panel contains group header and client to same, but when i do that, there always some part cannot be set, like graph 1, and what i want to implement is like graph 2.</div><div>Graph 1:</div><div><!--StartFragment --><div><img src="uploads/7628/Graph_1.jpg" height="572" width="200" border="0" /></div><div>&nbsp;</div><div>&nbsp;</div><div>Graph 2:</div><div><img src="uploads/7628/Graph_2.jpg" height="622" width="219" border="0" /></div><div>&nbsp;</div></div><div>Thanks for any suggestions</div>]]>
   </description>
   <pubDate>Mon, 29 Jul 2013 07:34:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21823&amp;PID=71458&amp;title=task-panel-color-setting#71458</guid>
  </item> 
  <item>
   <title><![CDATA[Task Panel : CXTPTaskPanel flickering]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21801&amp;PID=71387&amp;title=cxtptaskpanel-flickering#71387</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8149">udkim</a><br /><strong>Subject:</strong> CXTPTaskPanel flickering<br /><strong>Posted:</strong> 17 July 2013 at 8:24pm<br /><br />I'm currently using Toolkit Pro 15.3.1.<br>It's great except one thing CXTPTaskPanel.<br>I added some groups in CXTPTaskPanel(using AddGroup(), and Of course CXTPTaskPanel was created with WS_CLIPCHILDREN style). And each group has a CXTPResizeDialog contains several controls.<br>The problem is that when I move the scrollbar on CXTPTaskPanel, all of the controls in CXTPTaskPanel flicker.<br>I couldn't find the solution about this problem.<br>Is this problem related to CXTPTaskPanel rendering issue?<br>According to the release notes, it's beend fixed on 16.1.0.<br>Any idea?..<br>]]>
   </description>
   <pubDate>Wed, 17 Jul 2013 20:24:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21801&amp;PID=71387&amp;title=cxtptaskpanel-flickering#71387</guid>
  </item> 
  <item>
   <title><![CDATA[Task Panel : invalid tabbing choice]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21671&amp;PID=71070&amp;title=invalid-tabbing-choice#71070</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1999">FSauer</a><br /><strong>Subject:</strong> invalid tabbing choice<br /><strong>Posted:</strong> 07 June 2013 at 4:05am<br /><br />Hi,<div>please also take care, that items which aren't expandable, shouldn't get focus and as result be expanded!</div><div><br></div><div>Best Regards,</div><div>Fabian</div>]]>
   </description>
   <pubDate>Fri, 07 Jun 2013 04:05:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21671&amp;PID=71070&amp;title=invalid-tabbing-choice#71070</guid>
  </item> 
  <item>
   <title><![CDATA[Task Panel : invalid tabbing choice]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21671&amp;PID=71059&amp;title=invalid-tabbing-choice#71059</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7464">ilya</a><br /><strong>Subject:</strong> invalid tabbing choice<br /><strong>Posted:</strong> 03 June 2013 at 8:31pm<br /><br />Created a ticket in the internal tracking system for this]]>
   </description>
   <pubDate>Mon, 03 Jun 2013 20:31:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21671&amp;PID=71059&amp;title=invalid-tabbing-choice#71059</guid>
  </item> 
  <item>
   <title><![CDATA[Task Panel : invalid tabbing choice]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=21671&amp;PID=71050&amp;title=invalid-tabbing-choice#71050</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3213">rdhd</a><br /><strong>Subject:</strong> invalid tabbing choice<br /><strong>Posted:</strong> 01 June 2013 at 4:43pm<br /><br />ilya<br><br>In my case the first inserted dialog has no visible and enabled control. So ideally the tabbing code would move to the first enabled control in the next dialog in the group. If no controls are valid for tabbing it would move on until it either found a control in a dialog in the group or move to the next group header. Currently the code I stepped into simply obtained the first dialog and set focus on it. Since no control was enabled on the dialog, focus was completely lost.<br><br>I am not where I can test this but I also believe shift-tab is not very robust. If I am on a task panel header and there is a group with dialogs above/preceding the one with focus and I shift-tab, ideally the focus would be put on the last control with a tab stop in the last dialog in the preceding group. I think CJ just gets the first dialog in the preceding group and sets focus on it.<br><br>Basically the task panel should behave like one big dialog with the group headers treated as just another control. Tabbing should progress just like on a dialog and that includes cycling from start to end to start with shift tab reversing the procession.<br>]]>
   </description>
   <pubDate>Sat, 01 Jun 2013 16:43:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=21671&amp;PID=71050&amp;title=invalid-tabbing-choice#71050</guid>
  </item> 
 </channel>
</rss>