ADC Home > Reference Library > Technical Q&As > Legacy Documents > Graphics & Imaging >
Important: The information in this document is Not Recommended and should not be used for new development.
Current information on this Reference Library topic can be found here:
|
Q: I'm erasing my windows with a color other than white,
by setting the window's background color and calling A: One of the Window Manager's functions is to ensure that the
content region of a window is opaque when it needs to be: that's why the Window Manager
"pre-erases" the window when the content region grows, before your application
gets a chance to. As you point out, if your application is then erasing large
areas of the window to a different color, you'll get a noticeable flicker in
those parts of the content region that needed to be opaque. This is an
unfortunate side effect of a necessary maneuver by the Window Manager. Any
system dialogs that set a background color and use
There are two solutions: If you create your windows from ' |
|