search
Japanese Chinese Nederlands Espanol Italiano Deutsch Francais Twitter Rss Feeds
.NET Framework GroupsView
Deployment Server
.NET Distributed_Apps
.NET
.NET ADO.NET
.NET ASP.NET
.NET ASP.NET Security
.NET ASP.NET Webcontrols
.NET ASP.NET Web Services
.NET Clr
.NET Compact Framework
.NET Drawing
.NET Interop
.NET Micro Porting
.NET Performance
.NET Web Services
.NET Windows Forms
.NET Windows Forms Controls
.NET General
.NET Csharp
.NET Visual Basic
.NET Vc
.NET Security
.NET Xml
Scripting Jscript
Scripting Visual Basicscript
Scripting Wsh
Smartphone Developer
Visual Basic Com
Visual Basic Controls
Visual Basic Crystal
Visual Basic Database Ado
Visual Basic Syntax
Visual Basic Vista Compatibility
Visual Basic Winapi
Vc Atl
Vc Debugger
Vc Language
Vc Mfc
Vc Stl
Visio Developer Visual Basica
Vsnet Debugging
Windows Powershell
Windowsce Embedded Vc
Xml
Xsl

Group SummariesView
.NET Framework
Access
BizTalk
Certifications
CRM
DDK
Exchange Server
FoxPro
French
French .NET
Games
German
German .NET
Graphic Design
IIS
Internet
ISA Server
Italian
Italian .NET
Maps
MCIS
Miscellaneous
Mobile Application Development
Money
MSN
Networking
Office
Ops Mgr
Publisher
Security
SharePoint
Small Business
Spanish
Spanish .NET
SQL Server
Systems Management Server
Transaction Server
Virtual PC / Virtual Server
Visual Studio
Win32
Windows 2000
Windows 2003 Server
Windows 7
Windows Live
Windows Media
Windows Update
Windows Vista
Windows XP
 

View All Microsoft NET Windows Forms Controls Posts  Ask A New Question 

Disappearing Text in Windows Vista - Henrik Skak Pedersen

Friday, June 22, 2007 9:35 AM

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.
reply
 

Hi Henrik,I performed a test based on your description and did reproduce the - v-lli

Monday, June 25, 2007 12:05 AM

Hi Henrik,

I performed a test based on your description and did reproduce the problem
on my side.

I searched in our inner database and found a similar issue in it. It points
out that a workaround of this problem is to set the UseVisualStyleBackColor
property of the TabPage to false.

I have tested this workaround and confirmed it works.

Thank you for reporting this issue to us!

If you have any concerns, please feel free to let me know.

Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.
reply

Hi Linda,Thank you very much for your reply. - Henrik Skak Pedersen

Tuesday, June 26, 2007 8:30 AM

Hi Linda,

Thank you very much for your reply.

I can see that it actually is solving my problem, but my problem is now that
the tabpages don't have XP visual style which they need to have. So I
actually can't use it.

Is this a bug which Microsoft is planning on fixing. If yes what is the
timeframe?

Best regards
Henrik Skak Pedersen.
reply

Hi Henrik,Thank you for your response. - v-lli

Thursday, June 28, 2007 3:44 AM

Hi Henrik,

Thank you for your response.

Alternatively, you could use RichTextBox in your application, which
doesn't have the problem.

As for fixing the problem of TextBox, Microsoft will evaluate it and
consider many aspects including fix cost, breaking changes, globalizatio,
performance, etc.

As soon as the problem is fixed, I will let you know.

Thank you for contributing to Windows Forms Whidbey!


Sincerely,
Linda Liu
Microsoft Online Community Support
reply

Hi Linda,Thank you very much. - Henrik Skak Pedersen

Thursday, June 28, 2007 4:32 PM

Hi Linda,

Thank you very much. I am looking forward to hear about the fix :-)

Cheers,
Henrik.
reply

I am having the same problem in my application. - cran

Friday, August 03, 2007 4:20 PM

I am having the same problem in my application. I am unable to use a
RichTextBox and I cannot set the UseVisualStyleBackColor to false. Is there
another workaround? The original poster mentioned calling Invalidate on
MouseEnter and MouseLeave. I haven't tried that yet, but I was hoping there
was a better solution.

Thanks,
-Erik Crank
reply

Disappearing Text in Windows Vista - Rune Brahe Bjerregaard

Saturday, January 17, 2009 4:35 PM

Did anybody solve this problem? We're getting this in a Windows Forms application when it is running on Vista.

Thank you


Rune Brahe Bjerregaard
Vestas Wind Systems A/S
reply

Previous Microsoft NET Windows Forms Controls conversation.