M
marc_uchida
I am developing an app that has custom controls in a window that
behave just fine under XP and under Vista with non-Aero themes. When
Aero is on however, the window becomes transparent (see through)
sometimes and the controls will often vanish (maybe becoming totally
transparent). I have used SetWindowLong() and
SetLayeredWindowAttributes() to turn off any transparency attributes
or opacity (in case it was inheriting these from somewhere) to no
effect. I've turned off the "glass" feature in Aero settings to no
effect. Invalidating the controls or the window programatically (for
a repaint) does not have any effect, in fact it seems to be what
triggers the controls from being lost from sight. Resizing the window
manually forces the whole shebang to be redrawn correctly however!
My hardware should not be the problem as it is new and fast (great
video card etc... with high Vista rating 5.9 for graphics Aero desktop
performance).
Any ideas on why Aero might be causing me grief, and what I need to
try to solve my problem?
thanks
behave just fine under XP and under Vista with non-Aero themes. When
Aero is on however, the window becomes transparent (see through)
sometimes and the controls will often vanish (maybe becoming totally
transparent). I have used SetWindowLong() and
SetLayeredWindowAttributes() to turn off any transparency attributes
or opacity (in case it was inheriting these from somewhere) to no
effect. I've turned off the "glass" feature in Aero settings to no
effect. Invalidating the controls or the window programatically (for
a repaint) does not have any effect, in fact it seems to be what
triggers the controls from being lost from sight. Resizing the window
manually forces the whole shebang to be redrawn correctly however!
My hardware should not be the problem as it is new and fast (great
video card etc... with high Vista rating 5.9 for graphics Aero desktop
performance).
Any ideas on why Aero might be causing me grief, and what I need to
try to solve my problem?
thanks