C (98/207)

From:Martyn Capewell
Date:13 Dec 99 at 16:46:23
Subject:Assigns and Layers

From: Martyn Capewell <mmc28@hermes.cam.ac.uk>

Hello,

How can I find out if an assign exists? I've tried

if(!(flock = Lock(<assign>,ACCESS_READ)))
{
// fail
}

But this results in a requester popping up wanting me to insert the "assign"
into a drive, which if I cancel, results in a crash.

On an unrelated note, how do I make a window in which the background shows
through? I've tried installing a back fill hook, using
InstallLayerHook(rp->Layer,LAYERS_NOBACKFILL); but that doesn't seem to be
all I have to do.

Thanks,



- Martyn Capewell
{ Compsci, University of Cambridge }
{ http://members.xoom.com/legerdemain0 }