H
harry
Hello,
I've got a form which is a splash screen and set all the properties to stop
if from appearing in the taskbar,
have no borders, place it in the center of the screen and all that.
However it still appears as a white icon when it is displayed and you alt +
tab (not quite certain what that screen
is called) is there anyway to stop it from appearing at all excep just on
the screen in front of my app?
my initialisecomponent method:-
private void InitializeComponent()
{
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.BackColor = System.Drawing.Color.LightGray;
this.BackgroundImage =
((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
this.ClientSize = new System.Drawing.Size(400, 280);
this.Controls.Add(this.lblStatus);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "SplashScreen";
this.ShowInTaskbar = false;
this.StartPosition =
System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "SplashScreen";
this.DoubleClick += new
System.EventHandler(this.SplashScreen_DoubleClick);
}
cheers
I've got a form which is a splash screen and set all the properties to stop
if from appearing in the taskbar,
have no borders, place it in the center of the screen and all that.
However it still appears as a white icon when it is displayed and you alt +
tab (not quite certain what that screen
is called) is there anyway to stop it from appearing at all excep just on
the screen in front of my app?
my initialisecomponent method:-
private void InitializeComponent()
{
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.BackColor = System.Drawing.Color.LightGray;
this.BackgroundImage =
((System.Drawing.Image)(resources.GetObject("$this.BackgroundImage")));
this.ClientSize = new System.Drawing.Size(400, 280);
this.Controls.Add(this.lblStatus);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.Name = "SplashScreen";
this.ShowInTaskbar = false;
this.StartPosition =
System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "SplashScreen";
this.DoubleClick += new
System.EventHandler(this.SplashScreen_DoubleClick);
}
cheers