Click here to Skip to main content
15,886,578 members
Articles / Desktop Programming / Win32

Hiding the Taskbar and Startmenu (start orb) in Windows Vista and Windows 7

Rate me:
Please Sign up or sign in to vote.
4.90/5 (32 votes)
25 Nov 2011CPOL2 min read 210.6K   7.5K   53  
How to hide the taskbar and startmenu (start orb) under Windows Vista
/*
 *	Copyright (c) 2008..11 by Simon Baer
 * 
 *  You may use this code for whatever you want.
 */

using System;
using System.Windows.Forms;

namespace TaskbarHide
{
    /// <summary>
    /// Demo application to hide/show the taskbar.
    /// </summary>
	public partial class frmMain : Form
	{
        /// <summary>
        /// Initialize form.
        /// </summary>
		public frmMain()
		{
			InitializeComponent();
		}

        /// <summary>
        /// Hide the taskbar.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
		private void cmdHide_Click(object sender, EventArgs e)
		{
			Taskbar.Hide();
		}

        /// <summary>
        /// Show the taskbar.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
		private void cmdShow_Click(object sender, EventArgs e)
		{
			Taskbar.Show();
		}
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer Sevitec Informatik AG
Switzerland Switzerland
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions