Thanks for the advice, I just don't understand anything about API. I really don't understand what any of those values mean in the MSDN website and why things look like that.
I need to figure out how to code:
wait for a mouse click.
find location. // I can do that already.
The FLTK documentation takes a little getting used to.
Every time you do something, it generates an event and sends it to the associated widget via the handle() virtual function. Here is a little example that displays how to override it and trap events. http://www3.telus.net/public/robark/#events