Does anyone know how I can add a progress bar to a listview cell using “pure” api. The only examples I’ve found are either in c# or outdated mfc
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You would need to overlay the progress bar onto the list view. You will need to handle column resize and scrolling messages to resize it properly.
Alternatively, you can use DrawThemeBackground() to draw a scroll bar onto the listview, without needing an actual control.
This draws a meter. For a green progress bar, change the 2 and 4 to other numbers (1 and 1 I think).