Click here to Skip to main content
15,891,423 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Roughly speaking, display the download not in the progressbar, but in the combobox?

What I have tried:

We were advised to subscribe to the Draw event and draw a progressbar in the background of the combobox control, but I don’t know how.
Posted
Updated 13-Feb-19 7:13am
Comments
Maciej Los 13-Feb-19 9:45am    
Yes, it is. What's your issue?
Lander13 13-Feb-19 9:47am    
I am a novice and I don’t know how to do it. It would be great if you would give me an example!
Pete O'Hanlon 13-Feb-19 9:53am    
What technology is this for? WinForms? WPF? XAMARIN? ASP.NET? MVC?
Lander13 13-Feb-19 9:58am    
WinForms
CHill60 13-Feb-19 10:11am    
C# or VB.NET?

You're mixing "in the CB" and "in the background".

"In the CB" makes no sense unless it's just below or above. "ON top" would stop interaction with the CB.

For the Background, put the (smaller) CB OVER the (wider) progress bar on the form.

Make the combo box semi-transparent (if you want).
 
Share this answer
 
v2
Maybe you can use this: Animator for WinForms[^]
It will allow to animate almost any Winforms control.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900