Posted by: Dave Rabelink
Hi,
I'm using win32 API (tooltip32 class) to add tooltips to visual objects
using CreateWindowEx.
The window handle of the tooltip window is used to send messages to : add
the tooltip control
and to set titles, colors and dimensions etc etc.
Everything works fine, but i need a way to get the tooltip window handle.
I can store the returned window handle in CreateWindowEx as an attribute of
the visual objects, but i wonder if there is a way to retrieve the tooltip
window handle using a WinApi function.
So for instance, i have a button window handle and want to set the text of
the associated tooltip for that object. I do not have the tooltip window
handle, only the button window handle.
Does WinApi offer a way to do this ?
Dave.