Results 1 to 8 of 8

Thread: Changing Wallpaper

  1. #1

    Thread Starter
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877
    Hi,

    Hi i am trying to change the windows wallpaper/bacground using SystemParametersInfo API. Now there are two things i want to do but dont know how.

    1. Strech the image to fit the screen.
    2. Tile the image.

    Can anyone please tell me how can i do any of the two.

    Thanks in advance.

    Danial

  2. #2

  3. #3

    Thread Starter
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877

    Changing Wallpaper

    Thanks Matthew,
    But none of the links really answers my questions. I actually know how to change the wall paper, but in some cases Bitmap choosen by the user is smaller then the screen size. So i want to give users the option to Strech the image to fit the screen size or tile the image.

    You may wondering why i want to do this when i can do the same thing through windows property settings. The ans is at my UNI the network manager has disabled the option !!! So i worte my own using VB :-) !!!. I have finised most parts i just want to make it an exact copy of the windows "Display Properties Applet".


    If any one can ans any of my questions please ans.

    Thanks again.

    Danial

  4. #4
    Hyperactive Member dandono's Avatar
    Join Date
    Aug 2004
    Location
    Cornwall, UK
    Posts
    485

    Re: Changing Wallpaper

    you could allways try changing the registery key so that it streatches the wallpaper. i dont know the key name though but i know it is in there somewhere.
    If there is only one perfect person in the universe, does that make them imperfect?

  5. #5
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: Changing Wallpaper

    Quote Originally Posted by dandono
    you could allways try changing the registery key so that it streatches the wallpaper. i dont know the key name though but i know it is in there somewhere.
    dont mind dandono, but what's a point in answering a 5 year old thread
    Show Appreciation. Rate Posts.

  6. #6
    Fanatic Member dom_stapleton's Avatar
    Join Date
    Sep 2005
    Location
    Leigh-on-Sea, UK
    Posts
    665

    Re: Changing Wallpaper

    Lol, I dont think he looked at the date! He he he!

  7. #7
    Hyperactive Member dandono's Avatar
    Join Date
    Aug 2004
    Location
    Cornwall, UK
    Posts
    485

    Re: Changing Wallpaper

    i found it on the search and it was not answered so i replied. i dont look at the dates. i did not know the forums was around for that long.
    If there is only one perfect person in the universe, does that make them imperfect?

  8. #8
    Fanatic Member dom_stapleton's Avatar
    Join Date
    Sep 2005
    Location
    Leigh-on-Sea, UK
    Posts
    665

    Re: Changing Wallpaper

    Dont worry dandono! I dont look at the dates either. I've replied to old threads loads of times before an all. Besides the chances are that no matter how old the thread is, the guy who started it probably still needs help.
    I use Microsoft Visual Basic 2008 Express Edition.

    If my post has been helpful, please rate it, unless you don't believe in Karma... which actually I don't!

    Resources:
    Visual Basic Tutorials (1, 2) | MSDN Library | Google | Krugle | Search Forums

    Free components:
    Windows Forms Components | XP Common Controls Library

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width