Re: XForms: Q: Position of frames plus FL_PLACE_ASPECT

Steve Lamont (
Mon, 15 Sep 97 13:19:25 PDT

To subscribers of the xforms list from (Steve Lamont) :

> I'd like to hide forms and show them at the SAME position as before AND
> using the flag FL_PLACE_ASPECT for the aspect-ratio feature (I'm
> displaying images in these forms).

I think what I'd do is resort to the Xlib calls XUnmapWindow() and
XMapWindow(). XUnmapWindow will just make the form disappear without
changing its position. When you map the window (form) again, it
appears exactly where it was (at least this is the case in my quick
and dirty test).

The XForms hide and show calls have several annoying (and unavoidable,
given the vagaries of window managers) side effects that cause form
creep in some environments.

Refer to the Xlib manual pages and the XForms manual for details.

To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: