PlanetSquires Forums

Support Forums => General Board => Topic started by: Wilko Verweij on August 30, 2013, 10:43:28 AM

Title: Tooltip in FireSplitter
Post by: Wilko Verweij on August 30, 2013, 10:43:28 AM
Hi,
I have a program where I use the FireSplitter. I wanted to help users to discover you can drag the frames of the splitter by showing a tooltip. Like in the picture (you don't see the mousepointer in the picture).

So I modified the code in the FireSplitter include file.

Procedure: FF_SplitterProc
After the line: @ed.hWndHSplitter = CreateWindowEx( 0, "STATIC", "", _ (and so on)

I added:
LOCAL Htt AS LONG
hTT = Tooltip_Add(@ed.hWndHSplitter, "Drag to move up or down")


and similarly (this is a three-pane splitter) for the vertical bar.

Tooltip_Add is a function from Jose's includes (many thanks again).

In order not to change the original include file from Firefly, I modified the file in the release folder, then made it read-only.

Wilko

Title: Re: Tooltip in FireSplitter
Post by: Paul Squires on August 30, 2013, 11:25:40 AM
Cool - it's nice to see users building upon the FireFly custom controls. I am happy now that I decided to include the source code for them into the FireFly distribution.