Create Tool Tips from DLL
Posted on 2006-06-20
I am trying to create a DLL that will allow another development system (not Delphi) to set up tool tips for areas of the screen. The other development system does not have tools tips capabilities but is capable of calling functions in Delphi DLLs, hence the approach I am making.
What I have tried so far is to create a borderless form from the DLL specifying it as fsStayOnTop and creating it at a specific position and width and height. I have turned on tool tips for the form.
Calling this function in the DLL creates the form and the tool tips work. If this approach is the correct one though, I need a way to make the form transparent so that it is just the 'region' it occupies on screen that forces the tool tip to appear. I am not sure though, if the tool tips will still appear if the form is transparent??
Alternatively I need some other way of specifying a rectangular (or even any other shape if that is possible) area on screen where a tool tip can be made to appear all created from a DLL.