<?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 : New CommandBars bug..?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Command Bars : New CommandBars bug..?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 10 Jun 2026 18:00:41 +0000</pubDate>
  <lastBuildDate>Tue, 08 May 2007 09:18:42 +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=6947</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[New CommandBars bug..? : Thanks, works great! Exactly what...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6947&amp;PID=22675&amp;title=new-commandbars-bug#22675</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2525">Majek</a><br /><strong>Subject:</strong> 6947<br /><strong>Posted:</strong> 08 May 2007 at 9:18am<br /><br />Thanks, works great! Exactly what I was trying to do. I appreciate the help. <img src="https://forum.codejock.com/smileys/smiley17.gif" border="0">]]>
   </description>
   <pubDate>Tue, 08 May 2007 09:18:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6947&amp;PID=22675&amp;title=new-commandbars-bug#22675</guid>
  </item> 
  <item>
   <title><![CDATA[New CommandBars bug..? : Hello,   I tried simple sample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6947&amp;PID=22203&amp;title=new-commandbars-bug#22203</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 6947<br /><strong>Posted:</strong> 23 April 2007 at 1:18am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>I tried simple sample with </DIV><FONT color=#008000 size=1><P><FONT color=#000000>this.ShowInTaskbar = !this.ShowInTaskbar; </FONT><FONT color=#000000>call</FONT></P><DIV><FONT color=#000000>and&nbsp;I see that .NET destroys window and creates it again. </FONT></DIV><DIV><FONT color=#000000>CommandBars is simple ActveX - it can't find event when .NET window was destroed and when it need to restore self.</FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV><FONT color=#000000><BR>Think you can call <strong>this.Visible</strong>= false; instead to hide icon in taskbar.</FONT></FONT></DIV>]]>
   </description>
   <pubDate>Mon, 23 Apr 2007 01:18:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6947&amp;PID=22203&amp;title=new-commandbars-bug#22203</guid>
  </item> 
  <item>
   <title><![CDATA[New CommandBars bug..? : I&amp;#039;m making a program that...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=6947&amp;PID=22188&amp;title=new-commandbars-bug#22188</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2525">Majek</a><br /><strong>Subject:</strong> 6947<br /><strong>Posted:</strong> 21 April 2007 at 3:13am<br /><br /><P>I'm making a program that minimizes to the system tray. The problem is, when the "this.ShowInTaskbar" property is changed during runtime, it causes my CommandBars to freeze up completely. I commented out this.ShowInTaskbar and it stops&nbsp;CommandBars from freezing, but I cannot create the "minimize to tray" look that I am trying to create, which requires the this.ShowInTaskbar property to be changed. Here is my code below:</P><DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private void frmMain_SizeChanged(object sender, EventArgs e)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; switch (this.WindowState)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; case FormWindowState.Minimized:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Icon1.Visible = true;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.ShowInTaskbar = false;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; case FormWindowState.Normal:<BR>&nbsp;&nbsp;&nbs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sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (e.Clicks == 2)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.WindowState = FormWindowState.Normal;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</DIV><DIV>&nbsp;</DIV><DIV>I am using C# 2005 and CommandBars 10.1 ActiveX.</DIV></DIV>]]>
   </description>
   <pubDate>Sat, 21 Apr 2007 03:13:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=6947&amp;PID=22188&amp;title=new-commandbars-bug#22188</guid>
  </item> 
 </channel>
</rss>