Click here to Skip to main content
15,885,278 members
Home / Discussions / C#
   

C#

 
GeneralCustom Component Functions Pin
obelisk2922-Jan-04 14:47
obelisk2922-Jan-04 14:47 
GeneralRe: Custom Component Functions Pin
Heath Stewart22-Jan-04 18:33
protectorHeath Stewart22-Jan-04 18:33 
GeneralRe: Custom Component Functions Pin
David Stone22-Jan-04 19:24
sitebuilderDavid Stone22-Jan-04 19:24 
GeneralRe: Custom Component Functions Pin
Heath Stewart22-Jan-04 19:30
protectorHeath Stewart22-Jan-04 19:30 
GeneralWait Cursor Pin
Anders Molin22-Jan-04 11:49
professionalAnders Molin22-Jan-04 11:49 
GeneralRe: Wait Cursor Pin
Heath Stewart22-Jan-04 12:50
protectorHeath Stewart22-Jan-04 12:50 
GeneralRe: Wait Cursor Pin
Anders Molin22-Jan-04 13:01
professionalAnders Molin22-Jan-04 13:01 
GeneralRe: Wait Cursor Pin
Heath Stewart22-Jan-04 18:28
protectorHeath Stewart22-Jan-04 18:28 
The application can't be idle if the UI thread is currently executing code, such as "waiting" for database results or reading a file. An idle state of an application indicates that the STA on which the application was started is not currently processing. So, something else is reseting your cursor. The only other way to process queued notification messages on the UI thread is to call Application.DoEvents as I mentioned above.

If you want the cursor to be the WaitCursor for the whole app, make sure you use Cursor.Current and not the Cursor property of the control. Since the control also contains a Cursor property, use System.Windows.Forms.Cursor to specify the class just to be sure.

As far as this vs. Win32, all this wraps the functions defined in the Win32 APIs. Much - it not most - of the Framework does encapsulate the Win32 APIs.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Wait Cursor Pin
Anders Molin22-Jan-04 20:54
professionalAnders Molin22-Jan-04 20:54 
GeneralRe: Wait Cursor Pin
Heath Stewart23-Jan-04 4:31
protectorHeath Stewart23-Jan-04 4:31 
GeneralRe: Wait Cursor Pin
Anders Molin23-Jan-04 5:33
professionalAnders Molin23-Jan-04 5:33 
GeneralRe: Wait Cursor Pin
Alvaro Mendez23-Jan-04 8:07
Alvaro Mendez23-Jan-04 8:07 
GeneralSigning an assembly with a strong name Pin
RadioButton22-Jan-04 10:34
RadioButton22-Jan-04 10:34 
GeneralRe: Signing an assembly with a strong name Pin
Heath Stewart22-Jan-04 10:48
protectorHeath Stewart22-Jan-04 10:48 
GeneralRe: Signing an assembly with a strong name Pin
RadioButton22-Jan-04 10:57
RadioButton22-Jan-04 10:57 
GeneralRe: Signing an assembly with a strong name Pin
Heath Stewart22-Jan-04 11:01
protectorHeath Stewart22-Jan-04 11:01 
GeneralRe: Signing an assembly with a strong name Pin
RadioButton22-Jan-04 11:22
RadioButton22-Jan-04 11:22 
GeneralRe: Signing an assembly with a strong name Pin
Daniel Turini22-Jan-04 11:20
Daniel Turini22-Jan-04 11:20 
GeneralRe: Signing an assembly with a strong name Pin
RadioButton22-Jan-04 11:28
RadioButton22-Jan-04 11:28 
GeneralRe: Signing an assembly with a strong name Pin
Heath Stewart22-Jan-04 11:49
protectorHeath Stewart22-Jan-04 11:49 
GeneralRe: Signing an assembly with a strong name Pin
RadioButton22-Jan-04 12:16
RadioButton22-Jan-04 12:16 
GeneralGetIfTable and DllImport Pin
Julien Delezenne22-Jan-04 10:02
Julien Delezenne22-Jan-04 10:02 
GeneralRe: GetIfTable and DllImport Pin
Heath Stewart22-Jan-04 11:09
protectorHeath Stewart22-Jan-04 11:09 
GeneralRe: GetIfTable and DllImport //Thanks Pin
Julien Delezenne22-Jan-04 12:19
Julien Delezenne22-Jan-04 12:19 
GeneralMonthCalendar control selecting multiple dates Pin
Chris Meech22-Jan-04 9:38
Chris Meech22-Jan-04 9:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.