Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!eecae!cps3xx!usenet From: usenet@cps3xx.UUCP (Usenet file owner) Newsgroups: comp.sys.amiga.tech Subject: Intuition Keywords: layers , superbitmap Message-ID: <1744@cps3xx.UUCP> Date: 7 Feb 89 21:53:06 GMT Reply-To: porkka@frith.egr.msu.edu () Distribution: na Organization: Michigan State University Lines: 14 I have a superbitmap window. An assembly lang. routine is operating directly on the bits of the bitmap. Now and then I copy the bitmap into the window with CopySBitMap ( I'm not sure about the routine name but its the one that updates the layer to match the bitmap) I discovered that it is necessary to LockLayer(mywindowslayer) and then catch MENUVERIFY|SIZEVERIFY. Heren lies the problem: How do I know when the MenuEvent is done and I can LockLayer safely?(ie. without deadlocking Intuition) problem two: I want the window dragable, how do I DRAGVERIFY? anyhelp would be apppreciated. Is it necessary to surround the assemblylang routine with LockLayer/UnlockLayer?