|
-
Jul 14th, 2012, 04:09 PM
#1
Thread Starter
Lively Member
Send form to 'back'?
Hi,
I have a Net book with Windows 7 starter edition.
As you may or may not know, you cannot change the wallpaper on Starter Edition.
I know there are programs out there that will run and show a picture but they all contain other things that I do not need running in the background.
I am going to create a form with a picture box on and just have it run at start up without showing in the taskbar etc.
What I need help with;
Is there a way so that I can set the form to be showing, but behind the shortcuts on my desktop?
Or do you have any other ways of doing it?
Thanks
-
Jul 14th, 2012, 04:45 PM
#2
Re: Send form to 'back'?
At design time set the form's property BackgroundImage with your favorite picture, then use the following code
vb Code:
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim w As System.Drawing.Rectangle = My.Computer.Screen.WorkingArea Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None Me.WindowState = FormWindowState.Normal Me.Left = w.X Me.Top = w.Y Me.Width = w.Width Me.Height = w.Height End Sub
Because the form hasn't borders, you cannot minimize to show your desktop, so you may need to add a button to minimize the form
vb Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Me.WindowState = FormWindowState.Minimized End Sub
-
Jul 14th, 2012, 05:05 PM
#3
Thread Starter
Lively Member
Re: Send form to 'back'?
Thanks, I did not know about the My.Computer.Screen.WorkingArea I thought I was going to have to do it the long way.
Is there no way of setting the form to be behind the shortcut icons on my desktop but in front of the windows wallpaper then?
-
Jul 14th, 2012, 05:18 PM
#4
Re: Send form to 'back'?
 Originally Posted by Karl.Green
Is there no way of setting the form to be behind the shortcut icons on my desktop but in front of the windows wallpaper then?
No, AFAIK there is no way for that.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|