[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Tracking mouse enter and mouse exit for a Composite

We have the need to track when the mouse enters and exits a Composite. But we haven't been able to figure out how to do this reliably. The Composite is made up of other widgets: labels, buttons, etc. If we try to track the enter and exit of those composites we can't translate these events to the parent because the x and y aren't the exact point that entry occured, they're close but rarely exact. This makes it impossible to reliably know if the mouse entered on a border that is the border of a composite. Is there another way to do this?

Thanks,
Brad