Hi,
Can someone please tell me the best way how to get the offset of an object
on a form?
e.g. I have a glcanvas on a form, the offset is say 10,45 (as set up
in fdesign) and the call to fl_add_glcanvas().
To test for a mouse ONLY inside the glcanvas, I need to know these
offset values ... (I would rather not code them in as "magic").
I guess a couple of calls to fl_get_winorigin() for the form and the
glcanvas would do it ...
But ... is there a better way??
(Steve???)
Cheers,
Rob.
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/