GeUserArea - RemoveLastCursorInfo not compatible with ActivateFading
-
Hi,
A few years ago I created this topic:
https://developers.maxon.net/forum/topic/9969/13422_detect-leaving-userarea
related to detecting the mouse leaving aGeUserArea. Andreas brought up the perfect solution of usingRemoveLastCursorInfoand a callback.
I have been using this solution ever since.However, recently I have been looking into the
ActivateFadingand have discovered that while both functions work correctly on their own, as soon as you use both theRemoveLastCursorInfo's callback is never called.I do have a workaround for detecting leaving the userarea, using the BFM_FADE as described in the linked topic, but as mentioned it isn't without flaws.
With that said, I just wanted to bring up the issue / limitation regarding usingActivateFadingandRemoveLastCursorInfotogether. -
hi,
ActivateFadingis also usingRemoveLastCursorInfointernally.
The last to be called should win.Cheers,
Manuel -
@m_magalhaes said in GeUserArea - RemoveLastCursorInfo not compatible with ActivateFading:
ActivateFadingis also usingRemoveLastCursorInfointernally.I more or less assumed this was the case.
As such I went with an alternative solution usingRemoveLastCursorInfoto be able to detect the mouse leaving theGeUserArea, while providing an own implementation for fading in and out.Thanks for confirming.