wxMac: OS darkening of inactive windows

Bryan Petty bryan at ibaku.net
Wed May 2 20:28:15 PDT 2007


On 5/2/07, Michael Stauffer <michael at circular-logic.com> wrote:
> I have some non-modal dialog windows that I keep up for the user and OSX
> darkens/shades them out when they're not active. In some, I'd like them not
> to be darkened cuz I'm showing information in some static text controls.
> Does anyone know if there's a way to get the OS not to darken/shade
> particular windows?

This should only happen if you tie up your application with
processing, and it fails to respond. Are you actually using
wxDialog-derived windows? Maybe using wxFrame would help, though if
you don't tie up processing, you may have stumbled on a bug.

If you do tie up processing, you need to yield your process
periodically for GUI updates and event processing.

Regards,
Bryan Petty




More information about the wx-users mailing list