Single Pixel update bar for progress bars

  • Thread starter Thread starter Kyle
  • Start date Start date
K

Kyle

I want to do a single pix update bar instead of the big block that progress
bars usually use. I can't seem to find any info on how to do this.

Thanks in advance for any help,
Kyle
 
Kyle said:
I want to do a single pix update bar instead of the big block that progress
bars usually use. I can't seem to find any info on how to do this.

I'm not sure I understand. A single pixel-high progress bar? You'd probably
be better off posting in a UI group to see if the standard control will do
that. If not, or you want to roll your own, try a GDI group and perhaps take
a gander at FillRect() or Rectangle() to draw the progress par itself.

Regards,
Will
 
Thanks very helpful...
I can't find the "style" attribute anywhere in the .NET IDE listings for
progress bar. I assume that one needs to customize a control or take a
circular route to build this style of progress bar.
Kyle
 
Kyle said:
Thanks very helpful...
I can't find the "style" attribute anywhere in the .NET IDE listings for
progress bar. I assume that one needs to customize a control or take a
circular route to build this style of progress bar.

You didn't mention earlier if you were using .Net or MFC or WTL or straight
Win32 or what.

That said, I don't know if the style property of the native progress bar is
accessible via .Net. Perhaps someone more knowledgeable of winforms will
chime in here.

Ken
 
Ken,
Sorry.. I am using .NET with the standard IDE and the standard forms, tools,
etc. Just put a normal progress bar on a dialog and wanted to update the
bar one pixel at a time. There isn't a Style property anywhere I can find.
Looks like the create must be called with the style flags... This is
probably straight forward for some gui guys but I am a bit of a newbie to
this.

Thx
Kyle
 
Back
Top