I know there is a function that if you put the mousecursor over a buttoncontrol, it is possible to have a litte "window" that occur over this button that tells what this button does.

I have looked into the members and seen something like this. I am not sure if this could be used for this purpose. For example if I want the message to be "this is the button5".

9 Years
Discussion Span
Last Post by Lukezzz

Thank you, this did work great. I use this code and it works fine.

// Create the ToolTip and associate with the Form container.
ToolTip^ toolTip1 = gcnew ToolTip;

// Set up the delays for the ToolTip.
 toolTip1->AutoPopDelay = 5000;
 toolTip1->InitialDelay = 1000;
 toolTip1->ReshowDelay = 500;

 // Force the ToolTip text to be displayed whether or not the form is active.
toolTip1->ShowAlways = true;

// Set up the ToolTip text for the Button and Checkbox.
toolTip1->SetToolTip( this->button5, "this is button5" );
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.