SetCursor
-
Hi VB Experts Normally, I'm using C++ for my developmments but I need to configure a supervision software that makes a heavy use of VBA ... so I apologize for my stupid question... This supervision software allows us to make views of industrial processes. These vies are NOT use classical VB forms. So the methods of the VB forms are not available .... I need to set the cursor to hourglass for lengthy processing but I failed to succed. I declared the functions SetCursor and LoadCursor as 'Private Declare Function SetCursor Lib "user32" .... and same for LoadCursor Then I try to get the cursor with the call: SetCursor( LoadCursor( 0, 32514&)) But it does not work !!! What shoudl I do to succeed ? Thanks for your help Thierry
-
Hi VB Experts Normally, I'm using C++ for my developmments but I need to configure a supervision software that makes a heavy use of VBA ... so I apologize for my stupid question... This supervision software allows us to make views of industrial processes. These vies are NOT use classical VB forms. So the methods of the VB forms are not available .... I need to set the cursor to hourglass for lengthy processing but I failed to succed. I declared the functions SetCursor and LoadCursor as 'Private Declare Function SetCursor Lib "user32" .... and same for LoadCursor Then I try to get the cursor with the call: SetCursor( LoadCursor( 0, 32514&)) But it does not work !!! What shoudl I do to succeed ? Thanks for your help Thierry
Here... HOW TO: Change the Cursor in an eMbedded Visual Basic Application[^] It's for eVB, but it still should do the trick for ya. Jeremy Falcon Imputek Excrement escapes everyone - even elders.
-
Hi VB Experts Normally, I'm using C++ for my developmments but I need to configure a supervision software that makes a heavy use of VBA ... so I apologize for my stupid question... This supervision software allows us to make views of industrial processes. These vies are NOT use classical VB forms. So the methods of the VB forms are not available .... I need to set the cursor to hourglass for lengthy processing but I failed to succed. I declared the functions SetCursor and LoadCursor as 'Private Declare Function SetCursor Lib "user32" .... and same for LoadCursor Then I try to get the cursor with the call: SetCursor( LoadCursor( 0, 32514&)) But it does not work !!! What shoudl I do to succeed ? Thanks for your help Thierry
I have zero experience with vb for applications, but in regular dot net you don't need anything but this one line: Cursor.Current = Cursors.WaitCursor Then Cursor.Current = Cursors.Arrow Hope this helps, Mike "MC5" C