[comp.sys.atari.st] Replacing the Desktop

Stephen.Bate@Score.Stanford.EDU:GUFFEY@A.ISI.EDU (10/19/87)

I'm writing a program and would like to replace the green desktop background
with a picture from a graphics editor. I'm currently using the function...

            wind_set(0, WF_NEWDESK, desktop_tree, 0, 0);

            Where WF_NEWDESK = 14,
                  desktop_tree = pointer to an object tree.

When I try to use this function, the program bombs (usually when the
desktop redraws itself). The object tree is fine. I can draw it in a window
using objc_draw() with no problem. I've also tried splitting the address
into two integers (lo word, hi word) and supplied them at the third and 
fourth arguments (as documented by Abacus). This didn't work either. 
Can anyone HELP??

Thanks in advance,

Steve Bate
-------