tags:

views:

109

answers:

1

Is it possible to get the .NET Cursors.AppStarting using a MFC or Win32 function?

Someting similar to the CWaitCursor but indicating background processing.

+1  A: 

With Win32:

// show the app starting cursor
HCURSOR hPrevCursor = SetCursor(LoadCursor(NULL, IDC_APPSTARTING));

// restore the original cursor when done
SetCursor(hPrevCursor);

Check out the documentation for LoadCursor and SetCursor. Also check out this note regarding the nuances of restoring the original cursor.

Oren Trutner