Hello again,
I have a main menu bar which is set to "PopUp if the player moves the mouse to the top of the screen.
Now: while moving the mouse cursor over the menu bar it changes to the standart arrow-cursor and after leaving the menu it returns to the previous cursor mode. Works perfect in 99 percent
But here is the problem:
You know the litte trick with custom Invenotry GUIs: you use the "Talk mode" to do interaction with the inventory items. So do I. And of course I change the appearace of the mouse cursor so the people don't get confused. However: if - by accident - I happen to move the mouse to the top of the screen while being in "Interact Mode" in my inventory GUI it changes to the icon for the "Talk mode".
Is there a trick to delete this (tiny) problem?
Thanks in advance.
The Magician
Hmm, you are right. Seems like it returns it to default cursor if you have used SetMouseCursor() before. A workaround is to set it's graphic instead:
ChangeCursorGraphic (int mode, int slot);
And change it back when the invnetory GUI is closed.
-Cheers
Thanks Scorpiorus.
I will give that a try .. tomorrow.
God night everyone.