Re: wxNotebook color change




mardif wrote:

If you set:

frame.SetBackgroundColour(wx.RED)

On unix, you can see that label "form1" and "form2" are grey, and
others elements are red.
But on Windows, on the same line of "form1" and "form2", the color is
not red, but grey as labels.

I want to color this space RED!!!

Oh, I see now. I don't know if that is possible on windows.
SetBackgroundColour works differently on windows than on unix,
so probably native windows widget doesn't support this feature.
(but I can be wrong of course.)

Regards,
Rob

.



Relevant Pages

  • Re: [ Attn: Randy ] Ad-hoc Parsing?
    ... Though, one aspect is that LuxAsm has these "property" things (in short, as ... every label can have "child" labels in this scheme...so then constants, ... for programming (set up constants, equates and things...note, as these can ... Windows does...and then there's the "swap file" or using temporary files, ...
    (alt.lang.asm)
  • Re: Getting thread to stop in CDialog type class
    ... presumably it does this via a PostMessage, and does not manipulate the labels directly ... Waiting in OnDestroy is a particularly poor way to deal with this, ... manipulate windows from another thread! ... Your method of stopping the thread from OnClose seems like a perfectly ...
    (microsoft.public.vc.mfc)
  • Re: Getting thread to stop in CDialog type class
    ... presumably it does this via a PostMessage, and does not manipulate the labels directly ... Read my essay on worker threads on my MVP Tips site. ... manipulate windows from another thread! ... Your method of stopping the thread from OnClose seems like a perfectly ...
    (microsoft.public.vc.mfc)
  • Re: NEXT LEVEL OF ScreenUpdating
    ... The grey box appears when the macro starts. ... It persists until the ... It all points to Windows not processing it's message queue fast enough. ...
    (microsoft.public.excel.programming)
  • Re: OT: Web sight vs eyesight
    ... text size it fades into just a grey smudge on white. ... buttons with white text on a white background - there should be a ... It's 'better' on Windows that in it on the Mac, ...
    (uk.comp.sys.mac)