Re: Double buffering and canvases.

Petasis Gewrgios (ph1566@rea.edu.physics.uch.gr)
Wed, 4 Dec 1996 13:36:39 -0600 (CST)

To subscribers of the xforms list from Petasis Gewrgios <ph1566@rea.edu.physics.uch.gr> :

Steve Lamont wrote :
>
> > When i put fl_set_form_dblbuffer( ..form.., 1) imediatelly after the form's
> > creation i get:
> >
> > X Error of failed request: BadWindow (invalid Window parameter)
> > Major opcode of failed request: 10 (X_UnmapWindow)
> > Resource id in failed request: 0x2400038
> > Serial number of failed request: 4541
> > Current serial number in output stream: 4543
> >
> > Any suggestions?????
>
> I'm not sure this will work but try turning on doublebuffering
> *before* you show (realize) the window.

If i understood ok, you are saying to use fl_set_form_dblbuffer before
fl_show_form. This is what i am doing. ( Did i mentioned that my form
has a canvas???? If i did, im sorry, my form has 2 free objects on it...)
Also I haven't manage to deactivate my form yet while drawing. Any suggestions
about this????
Thanks for your (precious) time...
g.p
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html