Duncan Smart [mailto:[EMAIL PROTECTED]] wrote:

> Interestingly (or infuriatingly) when you set the tooltip
> when there's no document loaded the tooltip appears when you
> mouse moves over the control. As soon as you load a document
> into the web browser control then it stops working. I guess
> IE stops (forgets) forwarding the relevant windows messages
> to its container.

Actually, I think the real problem is that MSHTML (remember IE is the
browser, MSHTML is the rendering control) changes it's own tooltip to
whatever the <body...> element's title attribute is. Therefore anytime
MSHTML loads a document it's going to change it's own tooltip, so if you
wanted to control the tooltip manually you'd have to always reset it in the
when you're notified by the "loaded" event (I forget what the exact name
is).

Later,
Drew

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to