MaxGUI overrides custom mouse pointers?

BlitzMax Forums/MaxGUI Module/MaxGUI overrides custom mouse pointers?

JoshK(Posted 2008) [#1]
Since I updated MaxGUI my custom mouse pointers no longer work. I can only find two instances of the SetCursor command in win32maxguiex. Is there anything else funny going on with mouse pointers? Is the cursor being reset regularly or something?


-----


Oh, I see a global variable for the cursor. I got it working now by just setting that to my loaded cursor.

Custom cursors are really easy:

Extern "win32"
Function LoadCursorFromFileA:Int(lpFileName$z)
EndExtern

Cursor_Rotate=LoadCursorFromFileA(AppDir+"/gfx/rotate.cur")

SetCursor Cursor_Rotate
TWindowsGUIDriver._cursor=Cursor_Rotate