<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Hide Form from Alt+Tab</title>
	<atom:link href="http://www.csharp411.com/hide-form-from-alttab/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csharp411.com/hide-form-from-alttab/</link>
	<description>C# Development</description>
	<lastBuildDate>Fri, 03 Feb 2012 11:14:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Enamur0</title>
		<link>http://www.csharp411.com/hide-form-from-alttab/#comment-243</link>
		<dc:creator>Enamur0</dc:creator>
		<pubDate>Fri, 29 Apr 2011 08:48:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/hide-form-from-alttab/#comment-243</guid>
		<description>Sweet, just what i was looking for.
You saved me a lot of trouble!</description>
		<content:encoded><![CDATA[<p>Sweet, just what i was looking for.<br />
You saved me a lot of trouble!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gertmenkel</title>
		<link>http://www.csharp411.com/hide-form-from-alttab/#comment-242</link>
		<dc:creator>Gertmenkel</dc:creator>
		<pubDate>Tue, 26 Apr 2011 21:50:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/hide-form-from-alttab/#comment-242</guid>
		<description>@Alessandro thanks for translating to VB.NET! I was looking for this.</description>
		<content:encoded><![CDATA[<p>@Alessandro thanks for translating to VB.NET! I was looking for this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Clarke</title>
		<link>http://www.csharp411.com/hide-form-from-alttab/#comment-241</link>
		<dc:creator>Justin Clarke</dc:creator>
		<pubDate>Wed, 26 Jan 2011 11:28:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/hide-form-from-alttab/#comment-241</guid>
		<description>So on the Minimize event set:

form1.FormBorderStyle = FormBorderStyle.FixedToolWindow;
form1.Visible = false;
form1.Opacity = 0;
form1.ShowInTaskbar = false;

Or no Normalize event set:

form1.FormBorderStyle = FormBorderStyle.FixedSingle;
form1.Visible = true;
form1.Opacity = 100;
form1.ShowInTaskbar = true;</description>
		<content:encoded><![CDATA[<p>So on the Minimize event set:</p>
<p>form1.FormBorderStyle = FormBorderStyle.FixedToolWindow;<br />
form1.Visible = false;<br />
form1.Opacity = 0;<br />
form1.ShowInTaskbar = false;</p>
<p>Or no Normalize event set:</p>
<p>form1.FormBorderStyle = FormBorderStyle.FixedSingle;<br />
form1.Visible = true;<br />
form1.Opacity = 100;<br />
form1.ShowInTaskbar = true;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin Clarke</title>
		<link>http://www.csharp411.com/hide-form-from-alttab/#comment-240</link>
		<dc:creator>Justin Clarke</dc:creator>
		<pubDate>Wed, 26 Jan 2011 11:10:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/hide-form-from-alttab/#comment-240</guid>
		<description>To get it to work for me I added the Opacity setting as without that, when minimised, in the bottom left-hand corner of your Desktop you could see the top bar of your form.

Form form1 = new Form ( );

form1.FormBorderStyle = FormBorderStyle.FixedToolWindow;
form1.Visible = false;
form1.Opacity = 0;
form1.ShowInTaskbar = false;

Owner = form1;</description>
		<content:encoded><![CDATA[<p>To get it to work for me I added the Opacity setting as without that, when minimised, in the bottom left-hand corner of your Desktop you could see the top bar of your form.</p>
<p>Form form1 = new Form ( );</p>
<p>form1.FormBorderStyle = FormBorderStyle.FixedToolWindow;<br />
form1.Visible = false;<br />
form1.Opacity = 0;<br />
form1.ShowInTaskbar = false;</p>
<p>Owner = form1;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: premika</title>
		<link>http://www.csharp411.com/hide-form-from-alttab/#comment-239</link>
		<dc:creator>premika</dc:creator>
		<pubDate>Wed, 25 Aug 2010 08:38:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/hide-form-from-alttab/#comment-239</guid>
		<description>+1... Thanks a lot.. SizableToolWindow worked for me.</description>
		<content:encoded><![CDATA[<p>+1&#8230; Thanks a lot.. SizableToolWindow worked for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mark</title>
		<link>http://www.csharp411.com/hide-form-from-alttab/#comment-238</link>
		<dc:creator>mark</dc:creator>
		<pubDate>Tue, 24 Aug 2010 13:09:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/hide-form-from-alttab/#comment-238</guid>
		<description>how do you hide the form from the desktop after opening a new form?</description>
		<content:encoded><![CDATA[<p>how do you hide the form from the desktop after opening a new form?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alessandro</title>
		<link>http://www.csharp411.com/hide-form-from-alttab/#comment-237</link>
		<dc:creator>Alessandro</dc:creator>
		<pubDate>Mon, 05 Jul 2010 16:54:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/hide-form-from-alttab/#comment-237</guid>
		<description>and for vb.net developer : 

Protected Overrides ReadOnly Property CreateParams() As CreateParams
        Get
            Dim cp As CreateParams = MyBase.CreateParams
            &#039; turn on WS_EX_TOOLWINDOW style bit
            cp.ExStyle = cp.ExStyle Or &amp;H80
            Return cp
        End Get
    End Property

bye :)</description>
		<content:encoded><![CDATA[<p>and for vb.net developer : </p>
<p>Protected Overrides ReadOnly Property CreateParams() As CreateParams<br />
        Get<br />
            Dim cp As CreateParams = MyBase.CreateParams<br />
            &#8216; turn on WS_EX_TOOLWINDOW style bit<br />
            cp.ExStyle = cp.ExStyle Or &amp;H80<br />
            Return cp<br />
        End Get<br />
    End Property</p>
<p>bye <img src='http://www.csharp411.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alessandro</title>
		<link>http://www.csharp411.com/hide-form-from-alttab/#comment-236</link>
		<dc:creator>Alessandro</dc:creator>
		<pubDate>Mon, 05 Jul 2010 16:53:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/hide-form-from-alttab/#comment-236</guid>
		<description>many many thanks !!!</description>
		<content:encoded><![CDATA[<p>many many thanks !!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matteo</title>
		<link>http://www.csharp411.com/hide-form-from-alttab/#comment-235</link>
		<dc:creator>Matteo</dc:creator>
		<pubDate>Fri, 30 Apr 2010 03:17:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/hide-form-from-alttab/#comment-235</guid>
		<description>Oops, I forgot that to add the line

ShowInTaskbar = false;

For the form your are hiding.</description>
		<content:encoded><![CDATA[<p>Oops, I forgot that to add the line</p>
<p>ShowInTaskbar = false;</p>
<p>For the form your are hiding.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matteo</title>
		<link>http://www.csharp411.com/hide-form-from-alttab/#comment-234</link>
		<dc:creator>Matteo</dc:creator>
		<pubDate>Fri, 30 Apr 2010 03:15:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/hide-form-from-alttab/#comment-234</guid>
		<description>Okay, I think I&#039;ve found a definitive solution that simply is not sensitive to what kind of window style the window you are keeping hidden from Alt-Tab has. Just place this in the constructor of your form:

// Keep this program out of the Alt-Tab menu
        
Form form1 = new Form ( );

        form1.FormBorderStyle = FormBorderStyle.FixedToolWindow;
        form1.ShowInTaskbar = false;

Owner = form1;</description>
		<content:encoded><![CDATA[<p>Okay, I think I&#8217;ve found a definitive solution that simply is not sensitive to what kind of window style the window you are keeping hidden from Alt-Tab has. Just place this in the constructor of your form:</p>
<p>// Keep this program out of the Alt-Tab menu</p>
<p>Form form1 = new Form ( );</p>
<p>        form1.FormBorderStyle = FormBorderStyle.FixedToolWindow;<br />
        form1.ShowInTaskbar = false;</p>
<p>Owner = form1;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

