# To subscribers of the xforms list from jprinos@dehavilland.ca :
spl@szechuan.ucsd.edu (Steve Lamont) on 05/09/2000 05:41:44 PM
Please respond to xforms@bob.usuhs.mil
To: xforms@bob.usuhs.mil
cc: (bcc: John Prinos/BRAD/Bombardier)
Subject: Re: XForms: more on formbrowser and image form
# To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :
>Is this because it was trying to update the Canvas whenever the child
>Form was scrolled?
Yup.
>If the image is not changing, you may want to consider creating a
>Pixmap and using XSetWindowBackgroundPixmap() to hang the image onto
>the Canvas. Then the server will take care of updating the displayed
>image instead of your application, avoiding much interaction with the
>server.
So I need to somehow translate the image I have stored in the flimage object
into a pixmap type. Is this easily done?
I've been checking the XPM Manual included in my linux ditribution and I'm
wondering
if I have to do a XpmCreateDataFromImage(), then a XpmCreatePixmapFromData() and
then
a XSetWindowBackgroundPixmap().
If this is the case, do I know the XImage of the flimage?
or am I missing something huge?
I'll try the idea you included in the latter portion of your last email Steve
as well.
I'll see which one works best.
Thanks in advance,
J0hn
_________________________________________________
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 10 2000 - 17:26:02 EDT