VB TreeView Background Color issue

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Robert Robinson

    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.
  • Mr Nobody

    #2
    Re: VB TreeView Background Color issue

    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" <robert.robinso n@ec.gc.ca> wrote in message
    news:9739dd8c.0 308071001.6e21e 9ad@posting.goo gle.com...[color=blue]
    > 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.[/color]


    Comment

    Working...