Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    rabir007's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    Behind you...
    Posts
    2,323
    Reputation
    148
    Thanks
    1,925
    My Mood
    Bored

    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







  2. #2
    'Bruno's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Portugal
    Posts
    2,883
    Reputation
    290
    Thanks
    1,036
    My Mood
    Busy
    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.

  3. #3
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    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 Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    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)

  4. #4
    'Bruno's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Portugal
    Posts
    2,883
    Reputation
    290
    Thanks
    1,036
    My Mood
    Busy
    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?)
    Light travels faster than sound. That's why most people seem bright until you hear them speak.

  5. #5
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    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 Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    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)

  6. #6
    'Bruno's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Portugal
    Posts
    2,883
    Reputation
    290
    Thanks
    1,036
    My Mood
    Busy
    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
    Light travels faster than sound. That's why most people seem bright until you hear them speak.

  7. #7
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    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 Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    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)

  8. #8
    chocolate_1995's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    In your closet
    Posts
    19
    Reputation
    10
    Thanks
    1
    My Mood
    Busy
    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

  9. #9
    rabir007's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    Behind you...
    Posts
    2,323
    Reputation
    148
    Thanks
    1,925
    My Mood
    Bored
    Quote Originally Posted by chocolate_1995 View Post
    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
    I wanted to create an Animated Wallpaper for windows like "DeskScapes" doing...







  10. #10
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    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

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  11. #11
    rabir007's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    Behind you...
    Posts
    2,323
    Reputation
    148
    Thanks
    1,925
    My Mood
    Bored
    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:
     




    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.







  12. #12
    abuckau907's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    other side of the wire
    Posts
    1,342
    Reputation
    162
    Thanks
    239
    My Mood
    Cold
    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.?

    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.

  13. #13
    chocolate_1995's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    In your closet
    Posts
    19
    Reputation
    10
    Thanks
    1
    My Mood
    Busy
    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).

    Need to contact me? Email me here: contact@chocolatemods.com
    My website | Cod Research

  14. #14
    abuckau907's Avatar
    Join Date
    Dec 2012
    Gender
    male
    Location
    other side of the wire
    Posts
    1,342
    Reputation
    162
    Thanks
    239
    My Mood
    Cold
    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.
    Last edited by abuckau907; 12-29-2012 at 10:19 AM.

  15. #15
    rabir007's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    Behind you...
    Posts
    2,323
    Reputation
    148
    Thanks
    1,925
    My Mood
    Bored
    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







Page 1 of 2 12 LastLast

Similar Threads

  1. Looking for creative desktop/wallpaper
    By RottenTomato in forum General
    Replies: 3
    Last Post: 02-08-2012, 06:39 PM
  2. Assassins Creed: Revelations Desktop Wallpaper
    By Cordell278 in forum Showroom
    Replies: 6
    Last Post: 12-03-2011, 06:34 PM
  3. [Release] the Navy SEAL wallpapers for your desktop -_-
    By hadh in forum CrossFire Discussions
    Replies: 21
    Last Post: 06-21-2011, 09:31 PM
  4. My Desktop Wallpaper Is Snowing…?
    By Corndog in forum General
    Replies: 29
    Last Post: 12-04-2010, 06:55 PM
  5. Snipelock Wallpaper
    By Chronologix in forum Art & Graphic Design
    Replies: 3
    Last Post: 02-08-2006, 08:28 PM