Hello, I have used ProgressBar Control in my c# desktop application.I have used it in a thread other then the thread in which control has been declared.Its working Fine. Now I am wondering how i can show some text inside progress bar control like "Initiating Registration" etc.Also I want to use it as Marquee progress bar.Please help me.
+4
A:
You will have to override the OnPaint method, call the base implementation and the paint your own text.
Barry
2010-08-20 10:15:40
Thnks . I am gonna do it for sure...
Sandeep
2010-08-20 13:14:53
+3
A:
I wold create a control named for example InfoProgresBar, that provide this functionality with a label or two (Main Job, Current Job) and ProgressBar and use it instead of that ProgressBar.
Vash
2010-08-20 10:27:09
+1
A:
Alliteratively you can try placing a Label control and placing it on top of the progress bar control. Then you can set whatever the text you want to the label. I haven't done this my self. If it works it should be a simpler solution than overriding onpaint.
thekindofme
2010-08-20 10:28:11