Tooltip in FireSplitter

Started by Wilko Verweij, August 30, 2013, 10:43:28 AM

Previous topic - Next topic

Wilko Verweij

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


Paul Squires

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.
Paul Squires
PlanetSquires Software