You will need to know the location and sizes of the areas, of course, and then use the form's Click event handler. You'll need to use the location of the cursor at the time the click occurred and check to see which area it's in.
I'd start here:
David Stratton
2009-08-26 20:20:29