hi everyone!
I'm using the API function..
Public Declare Function LoadCursorFromFile Lib "user32" _
Alias "LoadCursorFromFileA" _
(ByVal lpFileName As String) As Long
.. to change the cursor to a special animated hourglass while the program performs a lengthy function. it works great, however, when the user moves the cursor over a textbox or outside the form in which it is called (i used modal forms) the cursor changes back to the arrow.
does anyone know why it does this, and can you please give me a solution that will keep the cursor set to the animated cursor no matter where the user moves the cursor within the program until the function is complete? thanks in advance!
-hinchdog
I'm using the API function..
Public Declare Function LoadCursorFromFile Lib "user32" _
Alias "LoadCursorFromFileA" _
(ByVal lpFileName As String) As Long
.. to change the cursor to a special animated hourglass while the program performs a lengthy function. it works great, however, when the user moves the cursor over a textbox or outside the form in which it is called (i used modal forms) the cursor changes back to the arrow.
does anyone know why it does this, and can you please give me a solution that will keep the cursor set to the animated cursor no matter where the user moves the cursor within the program until the function is complete? thanks in advance!
-hinchdog