treeview selected item with hideselection = false defaults to form backcolor

Posted on 2007-07-20
Last Modified: 2013-12-26
I am using a TreeView control in a Visual Basic 6.0 program.  I set the   Treeview.HideSelection = False
This will keep my treeview selection highlighted when I click into a text box control or any other control on the form.  The problem is the background color of the treeview selection is the same color as the form background color.  Is there a way to set the background color for the selected treeview item different than the form background color?
Question by:DenverDan
    LVL 10

    Accepted Solution

    This was the most complete information I could find.
    LVL 10

    Expert Comment

    It seems though that in my testing, once the focus is removed trom the treeview, the background color reverts to the form background color.  I did not have much time to test, and may have overlooked something.  
    LVL 1

    Author Comment


    Featured Post

    Too many email signature changes to deal with?

    Are you constantly being asked to update your organization's email signatures? Do they take up too much of your time? Wouldn't you love to be able to manage all signatures from one central location, easily design them and deploy them quickly to users. Well, you can!

    Join & Write a Comment

    A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
    Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
    The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now