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