Re: XForms: Problems resizing form containing a gl_canvas

From: David Scriven (davidwriter@yahoo.com)
Date: Wed Mar 06 2002 - 22:29:35 EST


# To subscribers of the xforms list from David Scriven <davidwriter@yahoo.com> :

Yes, and it doesn't help.

I've tried using fl_winresize instead of
fl_set_form_size - same effect. Note that
I said that a reduction of size from 3x
to 2x draws half the picture (top half
in bottom half of window) - this is why I
think it is a geometry problem.

I've also tried forcing the canvas to resize
to the same size as the form with
fl_set_object_geometry - this is disasterous
because nothing shows (except a black screen) on
resizing and eventually the program will crash with
an error in X_ConfigureWindow with a value of failed
request being zero.

As I wrote before the sizes reported by
fl_get_wingeometry and fl_get_object_geometry are not
the same. It seems that an internal table is being
messed up. Is there a way to resize things directly
that XForms won't object to?

--- spl@ncmir.ucsd.edu wrote:
> # To subscribers of the xforms list from
> spl@ncmir.ucsd.edu :
>
> Are you handling the ConfigureNotify event? If you
> aren't what may be
> happening is that the image isn't getting redrawn.
>
> spl
> _________________________________________________
> 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://world.std.com/~xforms
> List Archive:
> http://bob.usuhs.mil/mailserv/list-archives/
>

______________________________________________________________________
Find, Connect, Date! http://personals.yahoo.ca
_________________________________________________
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://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/



This archive was generated by hypermail 2b29 : Wed May 01 2002 - 13:54:15 EDT