[comp.sys.amiga] Intuition question and Dosbug

usenet@cps3xx.UUCP (Usenet file owner) (01/26/89)

I posted this request before but nobody answered, here we go again...

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?
problem two: I want the window dragable, how do I DRAGVERIFY?

anyhelp would be apppreciated.

***
The dos bug. I discovered this one by accident and trashed a floppy.
Try the following on a unimportant disk (RAD: with OldFS is a good
choice)

makedir A
echo >B ""   ; just to make a file.
rename A B/A

results in 'hiding' directory A someplace. then you can delete B
but you end up with less blocks free than you began with.
NOTE: when I did this to afloppy I count not delete B, but with
RAD: i could. On the floppy it caused a loop in the directory and with
RAD: it did not.
****
petersog@frith.egr.msu.edu