Click here to Skip to main content
Licence 
First Posted 2 Sep 2001
Views 121,454
Bookmarked 66 times

Adding progress bars to a list control

By | 2 Sep 2001 | Article
A simple extension that allows you to add a progress indicator as an item in a list control

Sample Image - napster.jpg

Introduction

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.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Jinhyuck Jung



Korea (Republic Of) Korea (Republic Of)

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralNeedes updating PinmemberDonsw11:15 11 Dec '08  
GeneralMy vote of 2 PinmemberDonsw11:14 11 Dec '08  
GeneralIt can do more... PinmemberMikeylas18:32 30 Oct '06  
GeneralIgnore the below comments (+fix) PinmemberAnthonyJ7:33 28 Apr '03  
GeneralMore Effecient Method PinmemberZac Howland5:45 22 Mar '02  
GeneralHERE's the correct way PinmemberMike Luongo8:31 8 Dec '01  
GeneralRe: HERE's the correct way PinmemberMax Santos15:51 19 Jul '03  
GeneralYOU'RE DOING IT ALL WRONG!!! PinmemberMike Luongo8:16 8 Dec '01  
GeneralMany bugs PinmemberTre14:29 20 Nov '01  
GeneralRe: Many bugs PinmemberAnthonyJ7:16 28 Apr '03  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web03 | 2.5.120517.1 | Last Updated 3 Sep 2001
Article Copyright 2001 by Jinhyuck Jung
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid