[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: Oops

You should not depend on receiving multiple hover events in that way.  For
instance, on Motif I don't think this is the case but I have not checked.
What you will want to do is respond to the initial mouse enter event by
displaying the tooltip then if a mouse move arrives before the mouse exit
event you update your custom tooltip with the new information and position
for the lightweight object you're now hovering over.

I'm don't think you'll be able to use native tooltips here...
Consider it the cost of using lightweight objects the OS is not aware of.
Jeff.

"Randy Hudson" <none@xxxxxxx> wrote in message
news:9k9sbt$shr$1@xxxxxxxxxxxxxxxx
> Actually, I was wrong, you can get multiple Hover events on the same
> control.
> However, originally I was interested in using the native ToolTipText,
which
> fades in on Windows 2000.
> My usage scenario was that I would be resetting the ToolTipText on a
Control
> after it was displayed, and I wanted SWT to update the ToolTips text as
well
> as its position when I change its value.  It appears that this is not
> possible.
>
>