<?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 : Trouble with changing margins in TaskPanel</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Trouble with changing margins in TaskPanel]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 22 Apr 2026 23:38:53 +0000</pubDate>
  <lastBuildDate>Fri, 08 Aug 2008 05:46: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=11735</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[Trouble with changing margins in TaskPanel : Hi,  use Reposition method. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11735&amp;PID=39605&amp;title=trouble-with-changing-margins-in-taskpanel#39605</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 11735<br /><strong>Posted:</strong> 08 August 2008 at 5:46am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>use Reposition method.</DIV>]]>
   </description>
   <pubDate>Fri, 08 Aug 2008 05:46:29 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11735&amp;PID=39605&amp;title=trouble-with-changing-margins-in-taskpanel#39605</guid>
  </item> 
  <item>
   <title><![CDATA[Trouble with changing margins in TaskPanel :  I found out how to force recalculation...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11735&amp;PID=39602&amp;title=trouble-with-changing-margins-in-taskpanel#39602</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4277">debugx</a><br /><strong>Subject:</strong> 11735<br /><strong>Posted:</strong> 08 August 2008 at 4:16am<br /><br />I found out how to force recalculation of all respective metrix in the task panel for the first group:<br>void CMyAppView::RecalculateTaslPanelMetrix(CXTPTaskPanel* wndTaskPanel)<br>{<br>&nbsp;&nbsp;&nbsp; CXTPTaskPanelGroup* welcomeGroup = wndTaskPanel-&gt;GetAt(0);<br>&nbsp;&nbsp;&nbsp; if(welcomeGroup != NULL)<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; welcomeGroup-&gt;SetExpanded(welcomeGroup-&gt;IsExpanded());<br>}<br>In this case all margins and other control length will be updated.<br>But this way is obviously ugly.<br>Are there any ways?<br>]]>
   </description>
   <pubDate>Fri, 08 Aug 2008 04:16:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11735&amp;PID=39602&amp;title=trouble-with-changing-margins-in-taskpanel#39602</guid>
  </item> 
  <item>
   <title><![CDATA[Trouble with changing margins in TaskPanel : I just need to know what does...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11735&amp;PID=39552&amp;title=trouble-with-changing-margins-in-taskpanel#39552</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4277">debugx</a><br /><strong>Subject:</strong> 11735<br /><strong>Posted:</strong> 07 August 2008 at 3:52am<br /><br />I just need to know what does call method GetControlMargins() in task panel paint manager and how can I force calling this method manually?]]>
   </description>
   <pubDate>Thu, 07 Aug 2008 03:52:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11735&amp;PID=39552&amp;title=trouble-with-changing-margins-in-taskpanel#39552</guid>
  </item> 
  <item>
   <title><![CDATA[Trouble with changing margins in TaskPanel : Hello All,I have simple SDI application...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11735&amp;PID=39486&amp;title=trouble-with-changing-margins-in-taskpanel#39486</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4277">debugx</a><br /><strong>Subject:</strong> 11735<br /><strong>Posted:</strong> 06 August 2008 at 2:46am<br /><br />Hello All,<br><br>I have simple SDI application with Task Panel control on it. I set my custom paint manager and overrode GetControlMargins method for controlling task panel margins. It works ok but one moment. Once I change margin parameters from other dialog and send appropriate message to my main view the task panel appearance is not changed. My main view received the respective message but task panel margins are not changed on the fly. When I leave this dialog and return to the main view and resize it the task panel margins are changed as well. Where I am wrong? How should I invalidate my task panel from other dialog to change its margins. <br>this-&gt;Invalidate() does not help.<br><br>Thank you.<br>]]>
   </description>
   <pubDate>Wed, 06 Aug 2008 02:46:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11735&amp;PID=39486&amp;title=trouble-with-changing-margins-in-taskpanel#39486</guid>
  </item> 
 </channel>
</rss>