by Norm Cook (11 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Advanced
Originally Published: Thu 7th July 2016
Date Added: Tue 9th February 2021
Rating:
(1 Votes)
This project displays 4 differrent Owner Drawn Listboxes. VB's native listbox (ThunderListBox) does not work well for owner drawn methods. This project uses CreateWindowEx to create WINDOWS Listboxes with the style LBS_OwnerDrawFixed. The screenshot should give an idea of what is possible, using this method. Enjoy. I have edited the project to remove the reference to SSubTimer6 and added two class modules to subclass the created Listbox.
Download Owner Draw Listboxes (36 KB)