Click to See Complete Forum and Search --> : pop up a tooltip


Dj_Saturn
December 30th, 2008, 01:53 AM
Theres No compiler Errors,

what I want to do is when the mouse is hovered over a disabled trackbar is to pop up a certain tooltip.

heres the code i have.


private: System::Void tracker_MouseHover(System::Object^ sender, System::EventArgs^ e)
{
if(tracker->Enabled == false)
info->Show(L"You must play your song/sound to enable the seeker.",this);

}

info is the name of the tooltip.

the problem is that the tooltip does not appear.

So is there something I'm missing?
i was searching around and didn't get a straight answer.
all i got is that i may have to enable tooltips within my form but wouldn't know how to do that either.

thank you for your assistance.

tattooedscorpdc
December 30th, 2008, 04:03 PM
You can always use the good lod fashioned alt attribute within your image. <img src="images/imagehere.gif" alt="alternative text should appear here">

You can even put a dynamic value in the alt in the case of developing a template.

Happy Developing

Larry Darrah
MS Architect Evangelist

Dj_Saturn
December 30th, 2008, 05:07 PM
unless you want me to put an html placeholder box in my program, that would not work.

c++ please =)