473,461 Members | 1,598 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

VB TreeView Background Color issue

I have been working for the past week on what seems to be a bug with
the VB TreeView control. I have changed the background of the treeview
to a light beige, this works fine except for the white box that
remains at the last node of each level of the Tree. I am using a
treeView with an ImageList "+" "-".\

I used the following suggestions from MS and to no avail

SendMesssage ...
GetWindowLong ...
SetWindowLong without lines ...
SetWindowLong with line ...
If anyone has any suggestions on how to fix this issue it would be
much appreciated.
Jul 17 '05 #1
1 5212
I have the same problem with my application. I noticed that the video driver
makes a difference. It works better on some drivers than others. I have
developed my application on two different models of Dell computers; one has
an NVIDIA driver, the other an ATI. The TreeView background colouring is
done differently on each machine.
"Robert Robinson" <ro*************@ec.gc.ca> wrote in message
news:97**************************@posting.google.c om...
I have been working for the past week on what seems to be a bug with
the VB TreeView control. I have changed the background of the treeview
to a light beige, this works fine except for the white box that
remains at the last node of each level of the Tree. I am using a
treeView with an ImageList "+" "-".\

I used the following suggestions from MS and to no avail

SendMesssage ...
GetWindowLong ...
SetWindowLong without lines ...
SetWindowLong with line ...
If anyone has any suggestions on how to fix this issue it would be
much appreciated.

Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Steve | last post by:
I have created a transparent custom drawn treeview in c#(using lots of native code as well) that has a bitmap for its background. As well as that, I have created a custom highlight that is a...
0
by: Plumer | last post by:
Hello everyone, Yesterday I posted a message about implementing drag & drop in a TreeView control. I'm having real difficulty getting this to work -- the process seems to be incredibly...
0
by: hzgt9b | last post by:
Using VS 2003, VB.NET: I have a TreeView control filled with TreeNodes. When I create the TreeView, I set HotTracking = True. Subsequently, I change the font (make the not bold versus bold) on...
2
by: Sean | last post by:
Hi all, I have a treeview and because I subclass the treeview and allow multiple selection to be done on the treeview, I have a problem changing the background color of the treeview. The...
4
by: pmcguire | last post by:
I have a treeview with a lot of nodes. I want to load only the nodes that are initially visible when the form loads, and then continue to populate it in background and/or when the nodes are required...
1
by: t | last post by:
Bonjour, Je voudrais inclure des controles (ex : textbox , checkbox) dans un noeud du treeview . Comment puis je faire en c# ? Merci d'avance tof
0
by: uncensored | last post by:
Hi, Sort of new with the whole treeview control and I was wondering is there a way to build a treeview menu using my SQL data I pull from a database instead of having to hard code it into the...
1
by: karthik123 | last post by:
i have been working for the past week on what seems to be a bug with the VB TreeView control. I have changed the background of the treeview to a light beige, this works fine except for the white...
18
by: =?Utf-8?B?TGkgV2VuZw==?= | last post by:
Hi, Is there a way for TreeView to have multiple selections? But I am not talking about its checked boxes. I want a way similar to ListView with MultiSelect = True. So I can use or key and...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.