Results 1 to 10 of 10

Thread: [RESOLVED] (VS 2005) Silver Windows Scheme causes Black Background in Form?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2006
    Posts
    126

    Resolved [RESOLVED] (VS 2005) Silver Windows Scheme causes Black Background in Form?

    I'm wondering if anyone else has seen this. My program looks great when a user has the default blue windows theme (Or scheme). But once the user changes to the Silver one all my custom programs come out with black areas where should be white?

    Is this a limitation?

    I can post some images if someone wants.

    Thanks for any help!!

  2. #2
    PowerPoster
    Join Date
    Aug 2005
    Location
    College Station, TX
    Posts
    4,521

    Re: (VS 2005) Silver Windows Scheme causes Black Background in Form?

    Are you sure you are using the correct color for those controls? Are you using a system color? If so, what do you have the property set at?

  3. #3
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: (VS 2005) Silver Windows Scheme causes Black Background in Form?

    I use the silver theme and everything works fine. It is likely what gigemboy said. You are using a system color instead of a specific color. The system color you picked is likely black when using the silver theme.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Mar 2006
    Posts
    126

    Re: (VS 2005) Silver Windows Scheme causes Black Background in Form?

    The color is set to "Active Caption text" for my background on the form. As well as the colors for my group boxes.

    Here is an image showing the Blue theme then the Silver theme if I switch back and forth on color schemes.
    Attached Images Attached Images  

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Mar 2006
    Posts
    126

    Re: (VS 2005) Silver Windows Scheme causes Black Background in Form?

    Ok that makes sense about the System thing. This one is a system one. Do you guys recommend the Web ones, or Custom?

    Thanks!!

  6. #6
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: (VS 2005) Silver Windows Scheme causes Black Background in Form?

    well that will do it.. like i said above, I use the silver theme on my desktop, and here is what my color palette looks like.
    Attached Images Attached Images  

  7. #7
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: (VS 2005) Silver Windows Scheme causes Black Background in Form?

    Don't use a system color unless you dont care if it changes based on user settings. If you want it to always be a specific color, use a web or custom (doesn't matter which, they are both just hex color values)

  8. #8

    Thread Starter
    Lively Member
    Join Date
    Mar 2006
    Posts
    126

    Re: (VS 2005) Silver Windows Scheme causes Black Background in Form?

    Great!! Thanks for the help!! That fixed the problem.

  9. #9
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: (VS 2005) Silver Windows Scheme causes Black Background in Form?

    no problem. gigemboy deserves the credit too

    if you dont have any other questions specifically about this, then mark the thread resolved using the thread tools menu above.

  10. #10
    PowerPoster
    Join Date
    Aug 2005
    Location
    College Station, TX
    Posts
    4,521

    Re: (VS 2005) Silver Windows Scheme causes Black Background in Form?

    System colors could be a good thing, as long as you choose the right one. Pay attention to the description, and dont pick it solely based on color. For instance, the "controllight" system color should generally be a light color regardless of whatever theme you set it on... ActiveCaptionText shouldnt be used for control colors, as the name sort of implies... of course, since every person can change whatever item they want to in windows, there is no real guarantee of what your form will look like when you use system colors. However, most approved windows themes go about the same basis for the color selections, and generally you won't run into problems with hard to read color combinations and what not as long as you choose the right system colors for whatever you are trying to change or modify... generally if you want it to be compatible across themes, then don't change the default system color for any of the standard controls on your form...
    Last edited by gigemboy; Dec 21st, 2006 at 02:35 PM.

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