Whoops! The codelet I included in my last response to this should read
XWindowAttributes attributes;
XGetWindowAttributes( fl_get_display(),
FL_ObjWin( obj ),
&attributes );
if ( attributes.map_state == IsViewable )
do_viewable_stuff();
else
do_iconified_stuff();
instead of the bit of strangeness I sent out.
My apologies.
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/