The site is currently in read-only mode for maintenance. Posting of new items will be available again shortly.
<!-- Download Links -->
<!-- Article image -->
<!-- Main HTML starts here -->
This code shows how to add a progress control to a listview control. If you want to use this code, copy listctrlex.h and listctrlex.cpp to your project and subclass it.
These files are good examples of owner-draw control and custom draw list controls. if you want to visually show various data in your listview controls (such as progress, which is done here), you'll need these.
There is another way to show a progress control in a listview control - that is embedding progress bar control in your listview control. For this case that isn't necessary because the code presented here works
properly and I don't want to worry about processing child window's messages.
I implemented and tested on Windows 2000 Proffesional, Visual C++ 6.0 with Service Pack 5. Untested under Unicode.