Disappearing Text in Windows Vista - Henrik Skak Pedersen |
22-Jun-07 09:35:02
|
I have encountered a bug that I can reproduce in a simple test application
that is constructed entirely in the designer within Visual Studio 2005, with
not one line of code written by me. Briefly, all the text in a TextBox
disappears whenever the mouse cursor enters or leaves the box. I've only
seen it under a very special set of conditions, summarized below. Has anyone
else seen this?
======
Details:
My test machine has insufficient graphics to run the fancy graphics features
of Aero, and only if I use the "Windows Vista Basic" theme, rather than the
All that is required is a TextBox with at least one ScrollBar, inside a
SplitContainer on a TabPage. If any of these elements is missing, it works
fine. A work-around is to call TextBox.Invalidate() on MouseEnter and
MouseLeave, but this solution is not entirely satisfactory.
This is actually a post from "The scripts"
(http://www.thescripts.com/forum/thread591155.html) but I am having the
exact same problem. Any ideas?
Best regards,
Henrik. |
 |