RE: Clickable windows areas
- Posted by Brian Broker <bkb at cnw.com> Mar 28, 2002
- 379 views
I believe that would be the easiest way... Create a function that calculates what key is pressed based on mouse coordinates. -- Brian Evan Marshall wrote: > Is there an easy(+ or -) way to make certain areas of a window > clickable? > I have an image of a piano keyboard and I'd like to be able to make the > keys clickable. > I could use an onMouse event and check to see if the mouse was in the > area of a certain key, but I am hoping there is an easier way. > >