c# - Change cursor using User32.dll -


i have login form disappears when logged in, few moments later main form shown.

now want show waitcursor, when there no form on screen. tried setting cursor @ login button click follow:

this.cursor = cursors.waitcursor; 

and

this.cursor.current = cursors.waitcursor; 

both didn't work.

i googled problem , answers is: use user32.dll set cursor. okay fine, can't find documentation how change cursor. can give me example, how change cursor using user32.dll?

thanks in advance!


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -