Disappearing Text in Windows Vista

J

J. W. T. Kottekoe

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
"Windows Classic" or "Windows Standard".

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.

I would appreciate any help you can give me.
 

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