How do I detect when the mouse has left a control or window. I tried using TrackMouse but the function was undefined. I would like to avoid hooks also