HelpDeskTop Wallpaper

Posts 115 of 18 · Page 1 of 2
DeskTop Wallpaper
How can i put my Form as Desktop wallpaper ?
I tried with SetParent my from to the "ProgMan" but still didnt put under the icons...

Is anybody found a way to put my form under the desktop icons ?

I'm using Windows 7 / 64bit
It is not possible afaik, and why would you want that?
Quote Originally Posted by 'Bruno View Post
It is not possible afaik, and why would you want that?
I think (based on the last bit of the reply, the first bit made no sense) that he doesn't actually want to set his Form as the desktop wallpaper, but rather create a desktop shortcut (could be wrong). If I'm right, this SO question pretty much covers it.

Create shortcut on desktop C# - Stack Overflow
Quote Originally Posted by Jason View Post


I think (based on the last bit of the reply, the first bit made no sense) that he doesn't actually want to set his Form as the desktop wallpaper, but rather create a desktop shortcut (could be wrong). If I'm right, this SO question pretty much covers it.

Create shortcut on desktop C# - Stack Overflow
It really sounds like he is trying to place it behind the icons (wallpaper), and as far as I know it is not possible. (What is there that makes no sense?)
Quote Originally Posted by 'Bruno View Post


It really sounds like he is trying to place it behind the icons (wallpaper), and as far as I know it is not possible. (What is there that makes no sense?)
The fact that he wants to make a Form his Background. How the testicles does that make any sense =.=
Quote Originally Posted by Jason View Post


The fact that he wants to make a Form his Background. How the testicles does that make any sense =.=
I thought you meant my answer when I said it was not possible
Quote Originally Posted by 'Bruno View Post


I thought you meant my answer when I said it was not possible
Nah, I was talking about his post. All your posts are magical and awesome :3
Quote Originally Posted by rabir007 View Post
How can i put my Form as Desktop wallpaper ?
I tried with SetParent my from to the "ProgMan" but still didnt put under the icons...

Is anybody found a way to put my form under the desktop icons ?

I'm using Windows 7 / 64bit
Setting a form as a wallpaper isn't possible, although you can take a screenshot with an application called - puush / home or Welcome to Gyazo : Seriously Instant Screen-Grabbing
Quote Originally Posted by rabir007 View Post


I wanted to create an Animated Wallpaper for windows like "DeskScapes" doing...
Something like:
Fishy Fishy Fish - CodeProject

Or? :S
Quote Originally Posted by Jorndel View Post


Something like:
Fishy Fishy Fish - CodeProject

Or? :S
From the pics, yeah it semm like what i want...
I tried to SetParent my from to the ShellDll view, above the SysListView, but my form didnt showed up...
When i Parented SysListView into my Form, the Wallpaper went into my form, not just the icons :/
I'll wach what you sent...
-----------------------------------------
Edit:
Soory, but its not what i wanted... The fish is above everything, its very simple with this.TopMost = true;
Thing thing i want is:
 
Youtube Video




As you can see, the animated Wallpaper is beind the icons, and taskbar... Thats what i want to do, but i dont have any succeed...

I love this Fish app, so funny...
Quote Originally Posted by rabir007 View Post


I wanted to create an Animated Wallpaper for windows like "DeskScapes" doing...
That wouldn't be a form, that would be a .gif image (I believe).
Quote Originally Posted by chocolate_1995 View Post
That wouldn't be a form, that would be a .gif image (I believe).
and then?

@rabir: "Thing thing i want is:"

try saving the animation to .gif, and setting wallpaper to that .gif. Does it have to be your form? If so, try my method above?

edit: I don't think it has to be .gif -- i've seen it done with .avi movies..not sure all the file-types it supports.
Quote Originally Posted by abuckau907 View Post
and then?

@rabir : "Thing thing i want is:"

try saving the animation to .gif, and setting wallpaper to that .gif. Does it have to be your form? If so, try my method above?

edit: I don't think it has to be .gif -- i've seen it done with .avi movies..not sure all the file-types it supports.
HD Gif as wallapaper ? It would lagging like the hell...
Check out this program: DeskScapes, i want to make a program like this
You want to take a screenshot (only of your form) and set it as your wallpaper?



Code:
1) take screenshot // use Form.DrawToBitmap()
2) save screenshot to disk //Bitmap.SaveToFile() or something similar
3) call windows api to change wallpaper (to file from step 2) // SystemParametersInfo() api. see link
1)this.DrawToBitmap(urBitmap,New Rectangle(new point(0,0),new size(urBitmap.width,urBitmap.height)));
2)urBitmap.Save("C:/newWP.bmp",System.Drawing.Imaging.ImageFormat.Bmp) ;
3) SystemParametersInfo(WALLPAPER, "C:/newWP.bmp"); //see msdn link below. (verify file exists etc etc)

and update as fast/often as needed? But I think getting the screenshot and saving it to file will take a long time ( well, in terms of milliseconds and fps), so you'll get choppy animations. If they're not high fps animations, maybe this is acceptable.?

http://code.msdn.microsoft.com/windo...paper-7dd9f27d this is in vb, but it explains how to actually change the image (file path) used for the wall paper.

you can set your wallpaper as an animated .gif image, and it 'just works'. (you can even do this with movies )
what is your goal? If it's to just change the wall paper, use saved .gif files, don't worry about using the form's screenshot. or, why are you using the form's screenshot - what cool feature are you going for? If it's just to display some animations, i think there are better ways - like using directx or opengl to draw directly to the screen? Avoid having to save to file. Will never be fast.
Posts 115 of 18 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?