While looking for a simple an easy method to capture a MouseLeave event on a Windowless control, such as a VB.Label (no Hwnd, therefore API WindowFromPoint() doesn't work) I ran accross this from Karl E. Peterson and thought it was pretty neat, and the next best thing outside of sticking the label into a frame and capturing it's mouse move event.
Maybe it's already a well known method to some, but it was new to me and I thought it to be a clever idea.
Maybe it's already a well known method to some, but it was new to me and I thought it to be a clever idea.