View Single Post
Old 03-19-2003, 08:07 AM   #3 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
What you are asking is to study the CMU libraries. The help file doesn't seem to provide all the info. But if the doc is complete then the CMU lib doesn't support "buttons". Only shapes.

Give the link to the CMU libs. I'll take a quick peek at it.

But the GetMouseCoord() method is clear. Compare if GetMouseCoord(x,y) falls within your button specs.

Next step is to fool with GetButtonState() and GetMouseClick().
Like I said, I don't know the details of the CMU lib.

Just provide the link so I can take a peek or try to solve it your self with this info.

- Val -
Valmont is offline   Reply With Quote