Results 1 to 5 of 5

Thread: Reset desktop background color

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2003
    Posts
    74

    Reset desktop background color

    To reset the desktop background color, set the value in registry:
    In XP it is HKEY_USERS\.DEFAULT\Control Panel\Colors

    But in windows9x, I can't find the item "Color" under HKEY_CURRENT_USER\Control Panel\,
    How should I do?

    Thanks!

    USE RegSetValue();

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Don't set it in the registry. Use SystemParameterInfo().
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Feb 2003
    Posts
    74
    Could you give me some example?

    It seems that the function you mentioned can only change desktop wall paper WITH SPI_SETDESKTOPWALLPAPER

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Oh, you want to change the default color? That blue?

    That's something different. Hmm...

    Try asking in the windows forum here
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Feb 2003
    Posts
    74
    Thanks, I have figure out it.
    I can add the key manually in the registry-->Edit menu or use RegCreateKeyEx() in program.

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