> # To subscribers of the xforms list from AMIT BHATNAGAR <amit@cs.dal.ca> :
> My second is a motion notify handler.. and what I would like to do is
> this: Print out the current position of the mouse somewhere on my form
> itself.. not to stdout, (and not to the canvas either). I can accomplish
> this by printing to stdout.. but I'd rather print to the program window. I
> can't seem to get fl_draw_text to work..
You need to call fl_winset(window) before using the fl_draw routines.
I find I can draw rubber-band lines OK using GXor mode but text always seems
to draw in GXcopy mode. This means you cannot delete the old text and you end
up with a mush on the screen. This could be bug BTW.
Dick
--dick@sqf.hp.com _________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuf2.usuhs.mil or see http://bob.usuf2.usuhs.mil/mailserv/xforms.html XForms Home Page: http://bloch.phys.uwm.edu/xforms List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/