Trouble with a Winforms .NET Framework 2.0 list box

I create and populate a listbox but can not find how to display floating help text when the string is too long to display.

I have it adding a horizontal scroll bar, but hope I can make it float a help text without add a library for this. It'd be a nice to have feature but not worth that kind of effort.

Please let me know...

newbiewebSr. Software EngineerAsked:
Who is Participating?
magicdlfConnect With a Mentor Commented:
Add a ToolTip Control and this piece of code to your program.
        private void listBox1_SelectedValueChanged(object sender, EventArgs e)
            this.toolTip1.SetToolTip(this.listBox1, listBox1.SelectedItem.ToString());
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.