Changing/Modifying Color of Top Level Window Frame

Is it possible to change the color of a top level window's frame?

I see that with wxSystemSettings_GetColour and using
wxSYS_COLOUR_WINDOWFRAME as the index, I can retrieve the current
color, but how can I change that color?

Hi,
do you maybe mean
SetBackgroundColour(...) ?
Almost all widgets inherited from wx.Window should have this method;
however, the child widgets mostly use their own colour.

hth,
  vbr

···

2010/3/19 gatoruss <rphintze@earthlink.net>:

Is it possible to change the color of a top level window's frame?

I see that with wxSystemSettings_GetColour and using
wxSYS_COLOUR_WINDOWFRAME as the index, I can retrieve the current
color, but how can I change that color?

--

I mean the color of the area that surrounds the clients of the top
level window - in other words, the area that contains the top level
window's title and the vertical and bottom borders? Also, I note that
the top level windows have curved corners at the top, but square at
the bottom. Is there a way to make all 4 square, like they are in
many window apps (especially MS apps)?

···

On Mar 19, 1:18 pm, Vlastimil Brom <vlastimil.b...@gmail.com> wrote:

2010/3/19 gatoruss <rphin...@earthlink.net>:

> Is it possible to change the color of a top level window's frame?

> I see that with wxSystemSettings_GetColour and using
> wxSYS_COLOUR_WINDOWFRAME as the index, I can retrieve the current
> color, but how can I change that color?

> --

Hi,
do you maybe mean
SetBackgroundColour(...) ?
Almost all widgets inherited from wx.Window should have this method;
however, the child widgets mostly use their own colour.

hth,
vbr

You can't. It's drawn by the system, and so it is in control of the colors.

···

On 3/19/10 9:55 AM, gatoruss wrote:

Is it possible to change the color of a top level window's frame?

I see that with wxSystemSettings_GetColour and using
wxSYS_COLOUR_WINDOWFRAME as the index, I can retrieve the current
color, but how can I change that color?

--
Robin Dunn
Software Craftsman