<?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 : Hide/disable Form ControlBox button</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : Hide/disable Form ControlBox button]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 21:51:38 +0000</pubDate>
  <lastBuildDate>Wed, 18 Aug 2010 06:13:50 +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=16928</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[Hide/disable Form ControlBox button :   Hi,  As far as I know the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16928&amp;PID=59810&amp;title=hide-disable-form-controlbox-button#59810</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 16928<br /><strong>Posted:</strong> 18 August 2010 at 6:13am<br /><br />Hi,<br><br>As far as I know the ControlBox of a Form is skinned by the Codejock tool and that's all, as the Form is still a VB Form underneath. <br><br>Using the "CommandBars.ActiveMenuBar.SetFlags" option only removes the selected box from the CommandBars when used with a MDI application, not the Form.<br><br><img src="uploads/20100818_061206_C&#111;ntrolBox.png" height="47" width="73" border="0"><br><br>To do this use the following code:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>&nbsp;&nbsp;&nbsp; CommandBars.ActiveMenuBar.SetFlags xtpFlagHideMaximizeBox, 1<br></pre></td></tr></table><br>But as far as I can see it does not change the Forms actual ControlBox area.<br><br>]]>
   </description>
   <pubDate>Wed, 18 Aug 2010 06:13:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16928&amp;PID=59810&amp;title=hide-disable-form-controlbox-button#59810</guid>
  </item> 
  <item>
   <title><![CDATA[Hide/disable Form ControlBox button : thanks xander for your answer...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16928&amp;PID=59807&amp;title=hide-disable-form-controlbox-button#59807</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5186">Squale</a><br /><strong>Subject:</strong> 16928<br /><strong>Posted:</strong> 18 August 2010 at 5:03am<br /><br />thanks xander for your answer but... Google can not help (you must be a fan of "Let me google that for you" http://www.lmgtfy.com/?q=Boulet&amp;l=1)<br><br>My question is to know if we can "play" with commandbar controlbox. Hiding "maximize" button and having "miminize" and "close" one re-arrange. Why not, a way to add new button next to controlbox one.<br><br>CommandBar "SetFlags" seems to be THE solution but I have not found a way to make it works.<br>]]>
   </description>
   <pubDate>Wed, 18 Aug 2010 05:03:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16928&amp;PID=59807&amp;title=hide-disable-form-controlbox-button#59807</guid>
  </item> 
  <item>
   <title><![CDATA[Hide/disable Form ControlBox button : Hi,This has nothing to do with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16928&amp;PID=59806&amp;title=hide-disable-form-controlbox-button#59806</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 16928<br /><strong>Posted:</strong> 18 August 2010 at 4:43am<br /><br />Hi,<br><br>This has nothing to do with the Codejock software, what you are requesting is specific to VB6.<br><br>You do one of two things...<br><br><ol><li>Set the ControlBox property on the Form to False, this removes all buttons including the Form Icon leaving only the caption.</li><li>Or set the BorderStyle to 1 - Fixed Style, this removes both the minimize and maximize buttons.</li></ol>Next time use Google!<br>]]>
   </description>
   <pubDate>Wed, 18 Aug 2010 04:43:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16928&amp;PID=59806&amp;title=hide-disable-form-controlbox-button#59806</guid>
  </item> 
  <item>
   <title><![CDATA[Hide/disable Form ControlBox button : Is it possible to hide or disable...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16928&amp;PID=59256&amp;title=hide-disable-form-controlbox-button#59256</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5186">Squale</a><br /><strong>Subject:</strong> 16928<br /><strong>Posted:</strong> 08 July 2010 at 9:19am<br /><br />Is it possible to hide or disable form controlbox button at runtime?<br>In my VB6 application, resize is not supported, therefore I have disabled MaxButton. I would have prefered make it not display.<br>For modal form I would like to hide minimize and maximize button.<br>]]>
   </description>
   <pubDate>Thu, 08 Jul 2010 09:19:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16928&amp;PID=59256&amp;title=hide-disable-form-controlbox-button#59256</guid>
  </item> 
 </channel>
</rss>