Re: XForms: XL_ObjWin

Steve Lamont (spl@szechuan.ucsd.edu)
Thu, 12 Nov 98 17:08:37 PST

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

> And how about this one:
>
> mag_left_pixmap=XCreatePixmap(FL_ObjWin(fd_xfmag->magleftpixmap,
> SIZE,SIZE,8);
>
> gives me a BadWindow ID!
>
> I am getting quite fed up with the FL_ObjWin() problems I've been getting
> - just read all of my previous emails and I'm sure you'll get my point. Is
> there any other way of retrieving the Window ID for my Pixmap objects?

I am getting quite fed up with you not listening to advice, too. I
mentioned in a previous email that FL_ObjWin() returns the Window XID
of the *form* not the Canvas (which is what I presume
`fd_xfmag->magleftpixmap' points to).

To get the XID of the Canvas use the function fl_get_canvas_id().

RTFM.

spl
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/