Vista Aero causing controls to vanish unpredictably

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
 
K

Karl Snooks

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top