by Panos Koutsoukeras (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating:
(16 Votes)

A UserControl made with a VB6 Treeview control (MSCOMCTL.OCX - 6.00.8862)
with customized Background (Color, GradientRectHor, GradientRectHor
GradientTri, tiled Picture), Backcolor, Forecolor, Buttons, Tooltips etc.
Side Effects
The UserControl does not repaint correctly if the ClipControls property of the Form1 has been set to False
Some of the Background options behave strangely, because of the Treeview control, but this is only a demo, showing some ways to draw on a VB6 Treeview background.
If Background = fvGrdntRectVer or fvGrdntTri or fvPicturedTiled (m_BackScroll = True) then the control
does not show Tooltips and Scrolls one at a time
Download Custom VB6 Treeview control (147 KB)