T
trant
Would it be possible to use the existing Tooltip functionality on non-Control
objects?
Say I have several boxes drawn across the background for a Panel, and if the
user hovers the mouse over one of the shapes a certain tooltip specific to
that shape shows up, and likewise for each shape.
If I cannot use Tooltip this way, any suggestions on how I can accomplish
this task?
I can find the right shape with mouse coord hit testing in Mouse Hover but I
somehow need to incorporate a timer in there which resets every time the
mouse moves - this sounds like something that would be a potential
performance hit if not done properly.
Only idea I have is perhaps on MouseHover start a Timer which when elapses
in a few seconds would trigger a tooltip to show up at the current xy. But if
they moved the mouse again this timer would be reset. Is that right?
objects?
Say I have several boxes drawn across the background for a Panel, and if the
user hovers the mouse over one of the shapes a certain tooltip specific to
that shape shows up, and likewise for each shape.
If I cannot use Tooltip this way, any suggestions on how I can accomplish
this task?
I can find the right shape with mouse coord hit testing in Mouse Hover but I
somehow need to incorporate a timer in there which resets every time the
mouse moves - this sounds like something that would be a potential
performance hit if not done properly.
Only idea I have is perhaps on MouseHover start a Timer which when elapses
in a few seconds would trigger a tooltip to show up at the current xy. But if
they moved the mouse again this timer would be reset. Is that right?