> To subscribers of the xforms list from spl@szechuan.ucsd.edu (Steve Lamont) :
> > I'm drawing to a canvas which is on one tab of a tabbed folder. I want to do
> > draw the drawing in advance of the tab being selected so that it is displayed
> > quickly. Unfortunately the X routine XCreatePixmap needs a valid window
> > parameter and this precludes the pixmap being created before the window has
> > been mapped. It's a sort of catch 22.
> Not really. XForms provides a `trailblazer' Window which is
> guaranteed to have the same Visual as the form. It is part of the
> fl_state[] structure vector. You can point XCreatePixmap at it rather
> than the Window.
I tried this and it gives up with bad drawable when I do the BLT. I'll try
again, maybe I'm doing something else wrong.
Thanks anyway.
Dick
--dick@sqf.hp.com _________________________________________________ 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/