Always on Top Form using WinForms


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Always on Top Form using WinForms

  1. #1
    Chris Boothe Guest

    Always on Top Form using WinForms


    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?



  2. #2
    Patrick Steele [MVP] Guest

    Re: Always on Top Form using WinForms

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center