Jump to content
Xtreme .Net Talk

Recommended Posts

  • *Experts*
Posted
If you derive your own control from ProgressBar, you can override the CreateParams property (i.e. don't set it, but override it) and modify them there.
Posted
Yeah, I kinda figure that one out. I used a Usercontrol, but however I still could not change the progress bar to smooth, so I am still missing a key element here. So if someone does not mind to post an example of send me an example that would be very greatly appreciated...
  • *Experts*
Posted
I'm not even so sure that the .NET progress bar is the real Common Controls one, so the PBS_ styles may not even affect it. You'd probably just be better to write your own from scratch. It's dead easy anyway. A simply percentage calculation and one FillRectangle call should do it. Plus you could customize it however you wanted (add text, gradients, whatever).

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...