API to show tooltips?

Hello experts!

Anybody knows an API to show tooltips?

I´m working with a custom control that don´t have this property.

I've used the label method but, in my project, custom controls are beside frames and, when the label is showed, it is in back of the frame. I've send label to front and frame to back, but it don't works.

Thanks in advance.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

U have to use ToolTip Control For this I am not sure but give a try to this
You create a ToolTip control by using the CreateWindowEx function, specifying the TOOLTIPS_CLASS window class. The class is registered when the common control dynamic-link library (DLL) is loaded. To ensure that this DLL is loaded, include the InitCommonControls function in your application.

Hope this helps

You don't need any API....
Just add to InitProperties line
UserControl.Extender.ToolTipText = "MyToolTipText"

raulopezAuthor Commented:
To samopal:

You are in the right way, but...  I'm using an array of 18 controls in the form, so I need different tooltip for each one.
I'm right anyway. If you want to assign ToolTip at run time, just create new property of your usercontrol and

UserControl.Extender.ToolTipText = UserControl.MyNewProperty

I've answered your original question.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.