co**@garcia-co.com wrote:
What are the yellowish popups that appear when you mouse over certain
objects. An example are the descriptions that appear in VS2005 when
hover your mouse over controls in the toolbox. I'd like to implement
these on a mouse over of a picture box. I couldn't find anything
looking through previous posts. Any help is greatly appreciated.
Its called a tooltip:
PictureBox box = ...;
// add a member to your class
System.WinForms.ToolTip toolTip = new System.WinForms.ToolTip();
// init tooltip, e.g in the ctor:
toolTip.AutoPopDelay = 5000;
toolTip.InitialDelay = 1000;
toolTip.ReshowDelay = 500;
toolTip.ShowAlways = true;
toolTip.SetToolTip(box, "This is a PictureBox");
HTH,
Andy