mouse pointer to 'busy'

BlitzPlus Forums/BlitzPlus Programming/mouse pointer to 'busy'

Timjo(Posted 2007) [#1]
Is there a way to force the mouse pointer to show the 'busy' pointer when my application goes into a routine that might prevent user input/activity for a while? (ie - while image processing). Thanks....TimJo.


William Drescher(Posted 2007) [#2]
Create user32.decls (or your prefered name) in the BlitzPlus userlib directory and put this in it:

.lib "user32.dll"

api_LoadCursor%( ID, Cursor ):"LoadCursorA" 
api_SetCursor%( ID ):"SetCursor"


You'll have to find out the cursor names on your own because I don't remeber them, if you find them out, print them here please.