|
This article started when I was implementing the VS.NET ListBar
control. If you move the mouse over an item whose text is partially obscured in the VS.NET
ListBar, a popup appears to show more of the text. The same technique is also implemented in the ListView and TreeView controls using a ToolTip. Whilst the tooltip control provided in the .NET
Framework is easy to use, it isn't customisable to perform these sort of effects. Hence, the
control provided in this article, which derives from a standard .NET Framework Control and allows the control to be shown floating anywhere on the screen. In addition
to that, it behaves as if it were transparent to any mouse events, so events over the control
are transmitted directly to any underlying control. VB.NET and C# versions of the code are
provided.
more...
Last Updated: 1 November 2003
|