WinForms - Activity IndicatorMaking a WinForms TextBox behave like your browser's address barCentering controls within a form in .NET (Winforms)?Control vs UserControl in WinForms?Split button in .NET WinformsImplement WinForms using WPF?How can I create a slider/selector in my iPhone app like the Mac OS X dashboard widget slider/selector?Draw horizontal divider in winformsWYSIWYG Editor in .NETTesting Complex Custom WinForms ControlWays of isolating cause of unresponsive Winforms GUI
Multi tool use
A Word/Phrase for the Process of Classifying Something as a Sin
Is God unknowable?
Understanding the point of a kölsche Witz
What ability do tools use?
Are differences between uniformly distributed numbers uniformly distributed?
Lengthened voiced stops and the airstream through the nose
What should I call bands of armed men in the Middle Ages?
Why did Gandalf use a sword against the Balrog?
How to remove ambiguity: "... lives in the city of H, the capital of the province of NS, WHERE the unemployment rate is ..."?
The cat ate your input again!
Bitcoin successfully deducted on sender wallet but did not reach receiver wallet
Do I have to cite common CS algorithms?
Super Duper Vdd stiffening required on 555 timer, what is the best way?
How many people would you need to pull a whale over cobblestone streets?
Not going forward with internship interview process
Heat equation: Squiggly lines
Do beef farmed pastures net remove carbon emissions?
How would timezones work on a planet 100 times the size of our Earth
How can Radagast come across Gandalf and Thorin's company?
Solution to German Tank Problem
0xF1 opcode-prefix on i80286
Is this n-speak?
How to reduce Sinas Chinam
Is there any way to stop a user from creating executables and running them?
WinForms - Activity Indicator
Making a WinForms TextBox behave like your browser's address barCentering controls within a form in .NET (Winforms)?Control vs UserControl in WinForms?Split button in .NET WinformsImplement WinForms using WPF?How can I create a slider/selector in my iPhone app like the Mac OS X dashboard widget slider/selector?Draw horizontal divider in winformsWYSIWYG Editor in .NETTesting Complex Custom WinForms ControlWays of isolating cause of unresponsive Winforms GUI
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
In a WinForms application, I want to provide visual feedback that a looping background procedure is ongoing (It isn't something that is initiated by the user or blocks them from using the UI)
Edit - It is going on all the time, looped. The user doesn't need to know when an iteration starts or finishes.
I'm thinking some kind of small, square, looping animation. Something like the segmented "spinner" often used in Mac/iPhone applications.
spinner http://img12.imageshack.us/img12/4402/spinner.png
Is there a built-in WinForms control that is a similar idea? If not, what's the best way to go about this?
.net winforms user-interface controls
add a comment |
In a WinForms application, I want to provide visual feedback that a looping background procedure is ongoing (It isn't something that is initiated by the user or blocks them from using the UI)
Edit - It is going on all the time, looped. The user doesn't need to know when an iteration starts or finishes.
I'm thinking some kind of small, square, looping animation. Something like the segmented "spinner" often used in Mac/iPhone applications.
spinner http://img12.imageshack.us/img12/4402/spinner.png
Is there a built-in WinForms control that is a similar idea? If not, what's the best way to go about this?
.net winforms user-interface controls
1
What about using the Wait cursor?
– John Saunders
Jul 7 '09 at 11:00
Can that animation be placed on the form? It will be in this state virtually all the time (it's essentially confirmation that the user is being shown live/auto-refreshed data), so I don't want to change the mouse cursor.
– xyz
Jul 7 '09 at 11:11
add a comment |
In a WinForms application, I want to provide visual feedback that a looping background procedure is ongoing (It isn't something that is initiated by the user or blocks them from using the UI)
Edit - It is going on all the time, looped. The user doesn't need to know when an iteration starts or finishes.
I'm thinking some kind of small, square, looping animation. Something like the segmented "spinner" often used in Mac/iPhone applications.
spinner http://img12.imageshack.us/img12/4402/spinner.png
Is there a built-in WinForms control that is a similar idea? If not, what's the best way to go about this?
.net winforms user-interface controls
In a WinForms application, I want to provide visual feedback that a looping background procedure is ongoing (It isn't something that is initiated by the user or blocks them from using the UI)
Edit - It is going on all the time, looped. The user doesn't need to know when an iteration starts or finishes.
I'm thinking some kind of small, square, looping animation. Something like the segmented "spinner" often used in Mac/iPhone applications.
spinner http://img12.imageshack.us/img12/4402/spinner.png
Is there a built-in WinForms control that is a similar idea? If not, what's the best way to go about this?
.net winforms user-interface controls
.net winforms user-interface controls
edited Jul 7 '09 at 11:15
xyz
asked Jul 7 '09 at 10:56
xyzxyz
14.1k26 gold badges91 silver badges121 bronze badges
14.1k26 gold badges91 silver badges121 bronze badges
1
What about using the Wait cursor?
– John Saunders
Jul 7 '09 at 11:00
Can that animation be placed on the form? It will be in this state virtually all the time (it's essentially confirmation that the user is being shown live/auto-refreshed data), so I don't want to change the mouse cursor.
– xyz
Jul 7 '09 at 11:11
add a comment |
1
What about using the Wait cursor?
– John Saunders
Jul 7 '09 at 11:00
Can that animation be placed on the form? It will be in this state virtually all the time (it's essentially confirmation that the user is being shown live/auto-refreshed data), so I don't want to change the mouse cursor.
– xyz
Jul 7 '09 at 11:11
1
1
What about using the Wait cursor?
– John Saunders
Jul 7 '09 at 11:00
What about using the Wait cursor?
– John Saunders
Jul 7 '09 at 11:00
Can that animation be placed on the form? It will be in this state virtually all the time (it's essentially confirmation that the user is being shown live/auto-refreshed data), so I don't want to change the mouse cursor.
– xyz
Jul 7 '09 at 11:11
Can that animation be placed on the form? It will be in this state virtually all the time (it's essentially confirmation that the user is being shown live/auto-refreshed data), so I don't want to change the mouse cursor.
– xyz
Jul 7 '09 at 11:11
add a comment |
3 Answers
3
active
oldest
votes
Just drop an animated GIF on form and make sure you're not blocking the UI thread:
1
You could even hide/show the animated gif using a delegate in the background process when said process is running...this seems the simplest solution
– Nick DeMayo
Jul 7 '09 at 11:43
+1 for such a great link
– Chris B
Sep 2 '11 at 9:50
add a comment |
Instead of writing this
public void DoWork()
try
this.Cursor = Cursors.WaitCursor;
DoSomeBigThing();
. . . .
catch()
. . . ..
finally
. . . .
this.Cursor = Cursors.Default;
- Create your own mouse cursor (.cur file) with some free tools (Google or Bing for that)
Use AutoWaitCursor and set your mouse cursor to your own created cursor
Cursor myCursor = new Cursor("myCoolCursor.cur");
github.com/rluiten/WinForm-AutoWaitCursor-Problem/blob/master/…
– Peter Gfader
Mar 8 '17 at 15:50
add a comment |
Use either a custom developed threading model, or the BackgroundWorker.
Let the background thread periodically post events back to your main GUI thread using a delegate handler, take thread safety into account, or using the ProgressChanged event if you are using the BackgroundWorker.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f1091659%2fwinforms-activity-indicator%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Just drop an animated GIF on form and make sure you're not blocking the UI thread:
1
You could even hide/show the animated gif using a delegate in the background process when said process is running...this seems the simplest solution
– Nick DeMayo
Jul 7 '09 at 11:43
+1 for such a great link
– Chris B
Sep 2 '11 at 9:50
add a comment |
Just drop an animated GIF on form and make sure you're not blocking the UI thread:
1
You could even hide/show the animated gif using a delegate in the background process when said process is running...this seems the simplest solution
– Nick DeMayo
Jul 7 '09 at 11:43
+1 for such a great link
– Chris B
Sep 2 '11 at 9:50
add a comment |
Just drop an animated GIF on form and make sure you're not blocking the UI thread:
Just drop an animated GIF on form and make sure you're not blocking the UI thread:
edited Mar 27 at 8:59
Glorfindel
17.3k11 gold badges53 silver badges75 bronze badges
17.3k11 gold badges53 silver badges75 bronze badges
answered Jul 7 '09 at 11:08
Anton GogolevAnton Gogolev
93.8k33 gold badges182 silver badges269 bronze badges
93.8k33 gold badges182 silver badges269 bronze badges
1
You could even hide/show the animated gif using a delegate in the background process when said process is running...this seems the simplest solution
– Nick DeMayo
Jul 7 '09 at 11:43
+1 for such a great link
– Chris B
Sep 2 '11 at 9:50
add a comment |
1
You could even hide/show the animated gif using a delegate in the background process when said process is running...this seems the simplest solution
– Nick DeMayo
Jul 7 '09 at 11:43
+1 for such a great link
– Chris B
Sep 2 '11 at 9:50
1
1
You could even hide/show the animated gif using a delegate in the background process when said process is running...this seems the simplest solution
– Nick DeMayo
Jul 7 '09 at 11:43
You could even hide/show the animated gif using a delegate in the background process when said process is running...this seems the simplest solution
– Nick DeMayo
Jul 7 '09 at 11:43
+1 for such a great link
– Chris B
Sep 2 '11 at 9:50
+1 for such a great link
– Chris B
Sep 2 '11 at 9:50
add a comment |
Instead of writing this
public void DoWork()
try
this.Cursor = Cursors.WaitCursor;
DoSomeBigThing();
. . . .
catch()
. . . ..
finally
. . . .
this.Cursor = Cursors.Default;
- Create your own mouse cursor (.cur file) with some free tools (Google or Bing for that)
Use AutoWaitCursor and set your mouse cursor to your own created cursor
Cursor myCursor = new Cursor("myCoolCursor.cur");
github.com/rluiten/WinForm-AutoWaitCursor-Problem/blob/master/…
– Peter Gfader
Mar 8 '17 at 15:50
add a comment |
Instead of writing this
public void DoWork()
try
this.Cursor = Cursors.WaitCursor;
DoSomeBigThing();
. . . .
catch()
. . . ..
finally
. . . .
this.Cursor = Cursors.Default;
- Create your own mouse cursor (.cur file) with some free tools (Google or Bing for that)
Use AutoWaitCursor and set your mouse cursor to your own created cursor
Cursor myCursor = new Cursor("myCoolCursor.cur");
github.com/rluiten/WinForm-AutoWaitCursor-Problem/blob/master/…
– Peter Gfader
Mar 8 '17 at 15:50
add a comment |
Instead of writing this
public void DoWork()
try
this.Cursor = Cursors.WaitCursor;
DoSomeBigThing();
. . . .
catch()
. . . ..
finally
. . . .
this.Cursor = Cursors.Default;
- Create your own mouse cursor (.cur file) with some free tools (Google or Bing for that)
Use AutoWaitCursor and set your mouse cursor to your own created cursor
Cursor myCursor = new Cursor("myCoolCursor.cur");
Instead of writing this
public void DoWork()
try
this.Cursor = Cursors.WaitCursor;
DoSomeBigThing();
. . . .
catch()
. . . ..
finally
. . . .
this.Cursor = Cursors.Default;
- Create your own mouse cursor (.cur file) with some free tools (Google or Bing for that)
Use AutoWaitCursor and set your mouse cursor to your own created cursor
Cursor myCursor = new Cursor("myCoolCursor.cur");
edited May 16 '17 at 20:38
Chris Weber
2,4625 gold badges35 silver badges44 bronze badges
2,4625 gold badges35 silver badges44 bronze badges
answered Jul 7 '09 at 11:36
Peter GfaderPeter Gfader
5,8477 gold badges47 silver badges53 bronze badges
5,8477 gold badges47 silver badges53 bronze badges
github.com/rluiten/WinForm-AutoWaitCursor-Problem/blob/master/…
– Peter Gfader
Mar 8 '17 at 15:50
add a comment |
github.com/rluiten/WinForm-AutoWaitCursor-Problem/blob/master/…
– Peter Gfader
Mar 8 '17 at 15:50
github.com/rluiten/WinForm-AutoWaitCursor-Problem/blob/master/…
– Peter Gfader
Mar 8 '17 at 15:50
github.com/rluiten/WinForm-AutoWaitCursor-Problem/blob/master/…
– Peter Gfader
Mar 8 '17 at 15:50
add a comment |
Use either a custom developed threading model, or the BackgroundWorker.
Let the background thread periodically post events back to your main GUI thread using a delegate handler, take thread safety into account, or using the ProgressChanged event if you are using the BackgroundWorker.
add a comment |
Use either a custom developed threading model, or the BackgroundWorker.
Let the background thread periodically post events back to your main GUI thread using a delegate handler, take thread safety into account, or using the ProgressChanged event if you are using the BackgroundWorker.
add a comment |
Use either a custom developed threading model, or the BackgroundWorker.
Let the background thread periodically post events back to your main GUI thread using a delegate handler, take thread safety into account, or using the ProgressChanged event if you are using the BackgroundWorker.
Use either a custom developed threading model, or the BackgroundWorker.
Let the background thread periodically post events back to your main GUI thread using a delegate handler, take thread safety into account, or using the ProgressChanged event if you are using the BackgroundWorker.
answered Jul 7 '09 at 11:05
Magnus JohanssonMagnus Johansson
21.7k17 gold badges87 silver badges144 bronze badges
21.7k17 gold badges87 silver badges144 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f1091659%2fwinforms-activity-indicator%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
NVR,E,fpDUbRPFztQjo7uhRKrrTrDv17in,wC7uehyDtfqC0I,vQI
1
What about using the Wait cursor?
– John Saunders
Jul 7 '09 at 11:00
Can that animation be placed on the form? It will be in this state virtually all the time (it's essentially confirmation that the user is being shown live/auto-refreshed data), so I don't want to change the mouse cursor.
– xyz
Jul 7 '09 at 11:11