Re: Tooltips and MouseMove event
Fabian Schmied <[email protected]> Thu, 12 Jul 2007 09:05:00 +0200
| Newsgroups | gmane.comp.windows.devel.dotnet.cx |
|---|---|
| Message-ID | <[email protected]> |
Hi Peter, > Anyway, I have realized that it would be very beneficial to provide > tooltips when the mouse hovers over some of the shapes I have drawn. To > try to implement this, I have created a ToolTip object in the Cartridge > class and have attempted to set it in two places - first, an event > handler connected to the _canvas.MouseMove() event; second, in an event > handler connected to the _canvas.MouseHover() event. Neither produces > the desired effect. Have you already solved this problem? If no, it might be useful if you could post some code of what you're doing; ideally a small, complete sample. > The MouseMove() event seems to fire at intervals of about 500 ms > regardless of whether or not I am moving the Mouse over the _canvas. > The MouseHover() event never (very, very seldom) seems to fire. This seems very strange, how do you determine how often these events fire? Are you tracing something to the debug output or are you just basing this on the fact that your tooltip doesn't appear? If the latter, it's probably a tooltip problem rather than a mouse event problem. Fabian =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com