I've been dealing with these pointer issues. Each GUI modifies the mouse.mode they are using (based off an enum of cursors available from the Mouse Cursors available in the AGS editor (e.g., 0 == eModeWalkto)). What I've been doing is setting them manually, but I'd like to capture the current pointer value so I can return the pointer to that value for cases like the Name Cancel. I'd also like to disable the right-click feature under certain conditions. Obviously, the user should not have access to the walk icon when creating a character. Likewise, right-clicking when you've selected a spell causes an issue as well where the topbar GUI is no longer accessible (Ctrl-Q FTW!).
_________________ Robert
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- "What good is knowledge and wisdom if you can't use it?" - Erasmus
|