CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2008
    Posts
    7

    Button on non-white background

    Hi,

    I want to show a button with FlatStyle set to System on the black background. The problem is that there is a gray background at the button edges (button screenshot is attached).
    Please advice how to get rid of it.
    Attached Images Attached Images

  2. #2
    Join Date
    Mar 2004
    Location
    Prague, Czech Republic, EU
    Posts
    1,701

    Re: Button on non-white background

    It looks like your system is Vista, so FlatStyle=System makes the button looks like Vista's button. If think it is right. Try to set the style to Flat, or use WPF and provide completely you own styling.
    • Make it run.
    • Make it right.
    • Make it fast.

    Don't hesitate to rate my post.

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

Featured