It is not possible afaik, and why would you want that?
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?
Light travels faster than sound. That's why most people seem bright until you hear them speak.
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
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)
You can win the rat race,Originally Posted by Jeremy S. Anderson
But you're still nothing but a fucking RAT.
++Latest Projects++
[Open Source] Injection Library
Simple PE Cipher
FilthyHooker - Simple Hooking Class
CLR Injector - Inject .NET dlls with ease
Simple Injection - An in-depth look
MPGH's .NET SDK
eJect - Simple Injector
Basic PE Explorer (BETA)
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
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:
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...
Last edited by rabir007; 12-27-2012 at 07:52 AM.
You want to take a screenshot (only of your form) and set it as your wallpaper?
1)this.DrawToBitmap(urBitmap,New Rectangle(new point(0,0),new size(urBitmap.width,urBitmap.height)));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
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.?
https://code.msdn.microsof*****m/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.
Last edited by abuckau907; 12-27-2012 at 11:05 PM.
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.
Last edited by abuckau907; 12-29-2012 at 10:19 AM.