[HELP]How to DIY the Frame Colour (block or front)?

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
lfjking
Earned some good credits
Earned some good credits
Posts: 102
Joined: Mon Nov 14, 2016 1:35 pm

[HELP]How to DIY the Frame Colour (block or front)?

Post by lfjking »

OK.
The default color of the interface is too dazzling.
I want to set all the colors to dark, like to the vs2013.
who can give me some idear.
thanks.
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7479
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: [HELP]How to DIY the Frame Colour (block or front)?

Post by ONEEYEMAN »

Hi,
Did you look at the docs?
Most likely you should call SetBackgroundColor(). ;-)

Now are you sure that its a wxFrame and not wxPanel?

Thank you.
User avatar
doublemax
Moderator
Moderator
Posts: 19160
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: [HELP]How to DIY the Frame Colour (block or front)?

Post by doublemax »

The default color of the interface is too dazzling.
I want to set all the colors to dark, like to the vs2013.
Are you talking about an application you're using or are you talking about an application you're writing yourself?

In the latter case, you only have the option to SetBackgroundColor / SetTextColor etc. on all controls and panels like ONEEYEMAN said, but this won't work properly with all controls and will most likely look ugly.

As wxWidgets uses native controls where ever possible, skinning it is not so easy.
Use the source, Luke!
lfjking
Earned some good credits
Earned some good credits
Posts: 102
Joined: Mon Nov 14, 2016 1:35 pm

Re: [HELP]How to DIY the Frame Colour (block or front)?

Post by lfjking »

thanks so mush.
Maybe we can do something to changed the Appearance of UI, eg.frame panel and even more.
Can make the interface of Wx colorful and diverse.
:D
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7479
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: [HELP]How to DIY the Frame Colour (block or front)?

Post by ONEEYEMAN »

As doublemax said, wxWidgets uses native controls under all platforms.
Which means applying the skins is not easy.

There is an effort to have wxQt, but it is still in the early development stage.

Thank you.
Post Reply