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 usingRemoveLastCursorInfo
and a callback.
I have been using this solution ever since.However, recently I have been looking into the
ActivateFading
and 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 usingActivateFading
andRemoveLastCursorInfo
together. -
hi,
ActivateFading
is also usingRemoveLastCursorInfo
internally.
The last to be called should win.Cheers,
Manuel -
@m_magalhaes said in GeUserArea - RemoveLastCursorInfo not compatible with ActivateFading:
ActivateFading
is also usingRemoveLastCursorInfo
internally.I more or less assumed this was the case.
As such I went with an alternative solution usingRemoveLastCursorInfo
to be able to detect the mouse leaving theGeUserArea
, while providing an own implementation for fading in and out.Thanks for confirming.