Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » How do I change the cursor to a wait state?
How do I change the cursor to a wait state? [message #37340] Mon, 24 September 2012 13:03 Go to next message
rxantos is currently offline  rxantos
Messages: 72
Registered: October 2011
Member
Is it possible to switch the cursor to the default wait(hourglass) cursor of the OS (windows, Linux, etc)?

If so, how?

PS: I'm aware of OverrideCursor.
Re: How do I change the cursor to a wait state? [message #37341 is a reply to message #37340] Mon, 24 September 2012 14:10 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
rxantos wrote on Mon, 24 September 2012 07:03

Is it possible to switch the cursor to the default wait(hourglass) cursor of the OS (windows, Linux, etc)?

If so, how?

PS: I'm aware of OverrideCursor.


What is the problem then?

Mirek
Re: How do I change the cursor to a wait state? [message #37342 is a reply to message #37340] Mon, 24 September 2012 14:32 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

rxantos wrote on Mon, 24 September 2012 13:03

Is it possible to switch the cursor to the default wait(hourglass) cursor of the OS (windows, Linux, etc)?

If so, how?

PS: I'm aware of OverrideCursor.

Another option is CursorImage. Altough I think someone discouraged me from using it a while back...

Best regards,
Honza
Re: How do I change the cursor to a wait state? [message #37346 is a reply to message #37341] Tue, 25 September 2012 08:16 Go to previous messageGo to next message
rxantos is currently offline  rxantos
Messages: 72
Registered: October 2011
Member
mirek wrote on Mon, 24 September 2012 08:10

rxantos wrote on Mon, 24 September 2012 07:03

Is it possible to switch the cursor to the default wait(hourglass) cursor of the OS (windows, Linux, etc)?

If so, how?

PS: I'm aware of OverrideCursor.


What is the problem then?

Mirek

Why create a wait cursor image that will be uglier (as Im a programmer, not a graphic artist) and not animated when all modern OS already have their own cursor (better looking and usually animated) for a busy state?

Re: How do I change the cursor to a wait state? [message #37347 is a reply to message #37346] Tue, 25 September 2012 08:53 Go to previous messageGo to next message
Tom1
Messages: 1212
Registered: March 2007
Senior Contributor
Hi,

How about using:

{
  WaitCursor waitcursor;

  // The stuff to wait for goes here...
}


Best regards,

Tom
Re: How do I change the cursor to a wait state? [message #37348 is a reply to message #37347] Tue, 25 September 2012 13:13 Go to previous message
rxantos is currently offline  rxantos
Messages: 72
Registered: October 2011
Member
Tom1 wrote on Tue, 25 September 2012 02:53

Hi,

How about using:

{
  WaitCursor waitcursor;

  // The stuff to wait for goes here...
}


Best regards,

Tom

Perfect.

Thank you.
Previous Topic: "Enter" code
Next Topic: Static Binary
Goto Forum:
  


Current Time: Sat May 04 10:41:44 CEST 2024

Total time taken to generate the page: 0.02001 seconds