Mouse leave/exit event in custom UI
Hello,
Once again I'm testing the limits of what the SDK allows me to do.
I have a custom control, a button in my effect panel. I want to implement a rollover effect, and it all works fine for activating the rollover, but not to return the button to its normal state.
The problem is when I move the mouse too fast, and the cursor goes out of my parameter area. In this case I have no way of checking where the mouse is and even a way to redraw that area with the new state.
I can't seem to find an event like PF_Event_MOUSE_LEAVE that I could use to somehow force a redraw and check the mouse position again to see if the mouse is over the button or not. PF_Event_DRAW event for custom controls is only triggered when the mouse is on top of them, same goes for PF_Event_ADJUST_CURSOR.
Any idea of a workaround for this one?
