I need to know how to detect a mouse click using API.
I have dynamically created a commandbutton w/o events and I need to be able to tell if the button was clicked so I can tell the program what to do. Unfortuantely it does not fit the architecture of the program to create a button with events, thats why I am asking this question.
Once I can detect if the button was clicked, I can check the coords (with I do know how to do) and determine if the button was clicked.
Sorry about the points, this is all I have.