Windows Vista Vista Aero causing controls to vanish unpredictably

  • Thread starter Thread starter marc_uchida@yahoo.com
  • Start date Start date
M

marc_uchida@yahoo.com

Guest
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
 
Re: Vista Aero causing controls to vanish unpredictably

marc,
An easy way of turning Aero On or Off is by using WinBubble which will add
corresponding choices to the context menu for a Computer icon on your
desktop.

WinBubble is the modern-day equivalent of Tweak-UI (from days gone by).

Start at this link for WinBubble:
http://unlockforus.blogspot.com/

Latest version is 1.73.

Karl

<marc_uchida@yahoo.com> wrote in message
news:569a741e-8e02-4d38-b268-35aec61b4c35@c2g2000pra.googlegroups.com...
>I am developing an app that has custohttp://unlockforus.blogspot.com/m
>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
>
 
Back
Top