Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm Controls / January 2006

Tip: Looking for answers? Try searching our database.

Black TreeView Control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John J. Hughes II - 24 Jan 2006 19:15 GMT
I have a Tree View control as a menu on my application.  The nodes are fixed
and created when I write the program.  So far as I know this Tree View looks
fine on all system but this morning I was told on one system the background
color was black and the text is black unless highlighted.

There are no icons on the tree and its not overridden.

Any suggestion?  I am guessing a problem with the video card/driver The
display is RAGE XL PCI and the system is set to true color 1024/768.

Regard,
John
Peter Oliphant - 26 Jan 2006 22:46 GMT
Just a guess here. Is it possible you've somehow set the particular TreeView
colors to some sort of 'system default' or 'based on themes"? In such a case
the color used might depend on the default colors the user sets up for his
personal computer. Therefore, it might use black where anyone who never made
a change to this would see a different color. This might account for it
working as expected on most systems, but using black-black on some
machines...

This could explain what you're seeing, but it's a real shot-in-the-dark...

[==P==]

>I have a Tree View control as a menu on my application.  The nodes are
>fixed and created when I write the program.  So far as I know this Tree
[quoted text clipped - 8 lines]
> Regard,
> John
John J. Hughes II - 27 Jan 2006 16:00 GMT
Thanks for the response.

Basically you are correct.  I set the background color to "MenuBar" in the
propeties.  On Win2K3 and WinXP this is dark gray but on Win2k its black.  I
have a feeling that "MenuBar" is not defined in Win2k so its coming up
incorrectly.  Personnel I would call it a bug but I'm not MS.

Regards,
John

> Just a guess here. Is it possible you've somehow set the particular
> TreeView colors to some sort of 'system default' or 'based on themes"? In
[quoted text clipped - 20 lines]
>> Regard,
>> John

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.