<?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 : Hiding a TaskPanel on VB6 MDI form</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Task Panel : Hiding a TaskPanel on VB6 MDI form]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 09 Jun 2026 23:11:45 +0000</pubDate>
  <lastBuildDate>Wed, 06 Apr 2011 02:54:03 +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=18165</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[Hiding a TaskPanel on VB6 MDI form : Hi,Here changes you need:Private...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18165&amp;PID=63735&amp;title=hiding-a-taskpanel-on-vb6-mdi-form#63735</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 18165<br /><strong>Posted:</strong> 06 April 2011 at 2:54am<br /><br />Hi,<div><br></div><div>Here changes you need:</div><div><br></div><div><br></div><div><div>Private Sub CommandBars_RepositionAlignedControls(Left As Long, Top As Long, Right As Long, Bottom As Long)</div><div><br></div><div><b>If (tskMain.Visible) Then</b></div><div>&nbsp; &nbsp; CommandBars.MoveAlignedControl tskMain, Left, Top, Right, Bottom</div><div><b>End If</b></div><div><br></div><div>End Sub</div></div><div><br></div><div>...</div><div><br></div><div><div>Private Sub tskMain_ItemClick(ByVal Item As XtremeTaskPanel.ITaskPanelGroupItem)</div><div><br></div><div>&nbsp; &nbsp; If Item.Id = 1 Then</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; CommandBars.ActiveMenuBar.Visible = False</div><div>&nbsp; &nbsp; &nbsp; &nbsp; tskMain.Visible = False</div><div><b>&nbsp; &nbsp; &nbsp; &nbsp; CommandBars.RecalcLayout</b></div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div></div><div><br></div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Wed, 06 Apr 2011 02:54:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18165&amp;PID=63735&amp;title=hiding-a-taskpanel-on-vb6-mdi-form#63735</guid>
  </item> 
  <item>
   <title><![CDATA[Hiding a TaskPanel on VB6 MDI form : uploads/6676/Practise_-_CommandBars_&amp;amp;_TaskPanel.zipHiI...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18165&amp;PID=63716&amp;title=hiding-a-taskpanel-on-vb6-mdi-form#63716</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6676">rogue</a><br /><strong>Subject:</strong> 18165<br /><strong>Posted:</strong> 05 April 2011 at 9:29am<br /><br /><br><a href="uploads/6676/Practise_-_CommandBars_&amp;_TaskPanel.zip" target="_blank">uploads/6676/Practise_-_CommandBars_&amp;_TaskPanel.zip</a><br><br>Hi<br><br>I have created a simple version of my problem in the vb app above.<br><br>Basically I have a TaskPanel, ActiveMenuBar and StatusBar on the main MDI form.&nbsp; Once a choice is made I want to hide the MenuBar and the TaskPanel but leave the statusbar in place.<br><br>I can get the MenuBar to hide ok, however the TaskPanel hides itself but leaves behind the space it was occupying and doesn't return that to the mdichild's "client" area.<br><br>I am using the MoveAlignedControl call to get my TaskPanel not sit inside the MenuBar.<br><br>---<br><br>I also tried putting the TaskPanel in a DialogBar as per the MDISample but when I did that the TaskPanel didn't resize itself properly within the DialogBar (it stopped slightly short, roughly the height of the MenuBar by the looks of it).&nbsp; It did 'hide' properly when I used this approach.<br><br><img src="file:///C:/Users/Rogue/AppData/Local/Temp/moz-screenshot.png" border="0" /><img src="uploads/6676/TaskPanel_gap.jpg" height="231" width="292" border="0" /><br><br>Is there anyway to get the TaskPanel to fully occupy the dialog?&nbsp; (the gap is the grey area between the blue TaskPanel and the top edge of the StatusBar - just in case it is not clear).<br><br>Alternatively, a way to make the DialogBar mimic the color of the TaskPanel's style even if it the user changes it (via menu options or such)?<br><br>Thanks<br><br>Simon<br><br><br><br>]]>
   </description>
   <pubDate>Tue, 05 Apr 2011 09:29:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18165&amp;PID=63716&amp;title=hiding-a-taskpanel-on-vb6-mdi-form#63716</guid>
  </item> 
 </channel>
</rss>