You could use the code from the BatteryLife control, that draws a custom
progress bar with text, here:
http://opennetcf.org/sourcebrowse/vi...BatteryLife.cs
.... or get the code wrapped in the OpenNETCF SDF here:
http://opennetcf.org/smartdeviceframework.asp
Tim
"Isaias Formacio Serna" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I'm trying to to draw a string in the middle of a progress bar, I tried
> first to inherit the control in order to override the OnPaint function,
but
> it's a sealed control so I guess this won't work, then I tried to add an
> Event Handler to the instance and the Paint event just doesn't seem to
fire,
> does anybody know some way to achieve this??
>
> I'll appreciate your help, regards,
>
> Isaias Formacio
>
>