[comp.sys.amiga] Window weirdness

mike@ames.arc.nasa.gov (Mike Smithwick) (09/06/88)

[what's a few lines among friends]

I was working with a full-screen window last nite (640x200), and couldn't
seem to make it SMART_REFRESH. I discovered that a call to 
SetWrMsk(RPort,0x0008) seemed to make it behave as SIMPLE_REFRESH instead.
So, in order to fix that I reset the write mask back at the end of my routine
and everything is cool. 

But wait! There's more!

It started up again later on in the code, but this time it was a ClipBlit()
that was doing strange and questionably legal things. Like, wow, what gives?

I checked the Wlayer flags, but they don't change. When I use ClipBlit(), I can
hit the right mouse button, the menu-bar comes up, and goes away as one
would expect when I release it. But, if I go up and activate a menu, the
image of the menu-bar image isn't removed.


-- 
			   *** mike (starship janitor) smithwick ***
"You can fool some of the people all of the time, or all of the people
 some of the time, but you can't fool Mom".
[disclaimer : nope, I don't work for NASA, I take full blame for my ideas]