Click here to Skip to main content
15,895,370 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 211.2K   7.5K   53  
How to hide the taskbar and startmenu (start orb) under Windows Vista
namespace TaskbarHide
{
	partial class frmMain
	{
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.IContainer components = null;

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
		protected override void Dispose(bool disposing)
		{
			if (disposing && (components != null))
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}

		#region Windows Form Designer generated code

		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
            this.cmdHide = new System.Windows.Forms.Button();
            this.cmdShow = new System.Windows.Forms.Button();
            this.SuspendLayout();
            // 
            // cmdHide
            // 
            this.cmdHide.Location = new System.Drawing.Point(12, 12);
            this.cmdHide.Name = "cmdHide";
            this.cmdHide.Size = new System.Drawing.Size(75, 23);
            this.cmdHide.TabIndex = 0;
            this.cmdHide.Text = "Hide";
            this.cmdHide.UseVisualStyleBackColor = true;
            this.cmdHide.Click += new System.EventHandler(this.cmdHide_Click);
            // 
            // cmdShow
            // 
            this.cmdShow.Location = new System.Drawing.Point(93, 12);
            this.cmdShow.Name = "cmdShow";
            this.cmdShow.Size = new System.Drawing.Size(75, 23);
            this.cmdShow.TabIndex = 1;
            this.cmdShow.Text = "Show";
            this.cmdShow.UseVisualStyleBackColor = true;
            this.cmdShow.Click += new System.EventHandler(this.cmdShow_Click);
            // 
            // frmMain
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(184, 49);
            this.Controls.Add(this.cmdShow);
            this.Controls.Add(this.cmdHide);
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
            this.Name = "frmMain";
            this.Text = "TaskbarHide";
            this.ResumeLayout(false);

		}

		#endregion

		private System.Windows.Forms.Button cmdHide;
		private System.Windows.Forms.Button cmdShow;
	}
}

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