Click to See Complete Forum and Search --> : Always on Top Form using WinForms
Chris Boothe
03-27-2003, 09:47 AM
I would like to know how to create an always on top form in C# using WinForms.
The purpose is to create a progress bar showing the progress of a process
.I would have to update the top most form and have it refresh to show the
updated progress bar.
Any ideas?
Patrick Steele [MVP]
03-27-2003, 01:07 PM
In article <3e830f0e$1@tnews.web.devx.com>, Chris@boothe.com says...
>
> I would like to know how to create an always on top form in C# using WinForms.
>
> The purpose is to create a progress bar showing the progress of a process
> I would have to update the top most form and have it refresh to show the
> updated progress bar.
There's the TopMost property on a form, but if what you're after is a
progress bar that updates cleanly, you may want to consider placing the
work in a background thread and having that thread update the progress
bar (via BeginInvoke).
--
Patrick Steele
Microsoft .NET MVP
http://radio.weblogs.com/0110109
devx.com
Copyright Internet.com Inc. All Rights Reserved