Ok I've created an active X component (with a bit of help) that will automatically detect if a control has a tooltip and then it will display it. This tooltip can be multiline and it looks just like window's tooltip. All that is needed it to add the tooltip, and it will show the tooltip as multiline.
One added feature is that you can add the '|' character and it will be converted to a new line.
Note: This is not completely my code, I found the code on the web at http://www.directions.com.au/articlehtmlxid_147 All i did was to make it more easier to use and added the ability to check if any control on the form has a tooltip and then dislpay it, plus some other small stuff.
If you have any suggestions, bugs, problems, you like it or have found a better way to do it, please post it.
Enjoy
New Version: Found bug which made activeX stop working if the form had any controls with no handle. Fixed now
Last edited by Andrew G; Mar 15th, 2006 at 02:38 AM.
Reason: New Version
Andrew G. I tried your code and it works fine in this project. I tried to use the control within my Active X control and it does not work. I dont' know whether it is not figuring out what window my tooltips are from or not. I have not been able to make it work. If you know how to call your control from another control and get it to work and can give me any help I would appreciate it.
Sorry but i was unable to make it work inside another activeX control, but you may be able to use the original code to create the tooltips (link is in post 1).
Last edited by Andrew G; Mar 15th, 2006 at 02:36 AM.