[net.micro.mac] Getting windows over the menu bar

wrs@cmu-cs-k.ARPA (Walter Smith) (04/14/85)

I'm trying to write an application that does not have menus.  It's a game,
and it doesn't need menus.  No user interface flames please.  Anyway, I
can't get rid of the menu bar.  It's easy to paint gray over it, but the
Window Manager thinks it's still there and refuses to put a window on top of
it.  I tried changing grayRgn before calling InitWindows, which a small note
in the WM manual says will change the area filled with deskPattern, but
nothing happened.  Does anyone know how to get the Window Manager to use the
entire screen?  Please mail to me and I'll post useful responses.

YT, wrs
-- 
         Walter Smith, CS undergraduate, Carnegie-Mellon University
       uucp: ...!seismo!cmu-cs-k!wrs          ARPA: wrs@cmu-cs-k.ARPA
      usps: Box 874; 5115 Margaret Morrison St.; Pittsburgh, PA  15213

wrs@cmu-cs-k.ARPA (Walter Smith) (04/23/85)

grayRgn is not only the region defining where the deskPattern is drawn, it's
also the region to which windows are clipped.  The secret to getting windows
above the menu bar is to set grayRgn to the whole screen AFTER calling
InitWindows.  A big thank you to Larry Rosenstein of Apple for answering my
question, and to all who sent suggestions.

-- 
         Walter Smith, CS undergraduate, Carnegie-Mellon University
       uucp: ...!seismo!cmu-cs-k!wrs          ARPA: wrs@cmu-cs-k.ARPA
      usps: Box 874; 5115 Margaret Morrison St.; Pittsburgh, PA  15213