or you can make a very tiny one pixel sprite and display it at an offset that places it right at the tip of the cursor and then check for a collision with that sprite and the one that makes up the button whenever the mouse is clicked eg(psuedocode)
button=button_picture
dot=value of one pixel wide/deep image
x=pointer positionx
y=pointer positiony
sprite 1,x+offset,y+offset,dot (or use offset sprite maybe?)
over_button=sprite collision(dot,button)
if over_button=1 and mouseclick()=1 then ....go to whatever code you want to run when the button is clicked
hope thats some help
Mentor.
System spec : Pentium 3.0Ghz, 512MB DDR, 2x160Gb HD`s, DVD RW/CD RW (all modes), multimedia front panel, 6 way surround sound, ATI radeon 9800 128mb.