> Is there any simple way to know a form has been resized
> automatically (like to dectect a event) and then I
> can resize the image to fit the new size of the form ? After I read the
> manual, it seems there is no way to know a form is resized.
Register a raw callback with FL_ALL_EVENT, look for a ConfigureNotify,
and do your thing.
If you're displaying an image, you are probably going to want to use a
Canvas object. If you do, you can register a ConfigureNotify event
handler with fl_add_canvas_handler(). The handler can be used to
resize your image or whatever you wish.
spl
_________________________________________________
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://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/