Re: XForms: Screen Size

From: Steve Lamont (spl@szechuan.ucsd.edu)
Date: Wed Mar 01 2000 - 20:26:08 EST

  • Next message: Dirk Evers: "Re: XForms: bad window debug message in canvas object?"

    # To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :

    > Is there an Xform/Xlib function that returns the width/height
    > of the root window so I can fl_set_form_geometry before I
    > fl_show_form. As well as change font sizes, touch co-ords, etc.

    Yes.

    There are Xlib macros to do this: DisplayHeight() and DisplayWidth()
    return the height and width of the screen in pixels. Refer to the
    Xlib manual pages for details on parameters, use, etc.

                                                            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/



    This archive was generated by hypermail 2b29 : Wed Mar 01 2000 - 20:30:56 EST