[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: *menubar-bottom* possible bug and request for help



   Date: Tue, 14 May 91 09:42:23 CDT
   From: lynch@aristotle.ils.nwu.edu (Richard Lynch)
   To: info-macl@cambridge.apple.com
   Subject: *menubar-bottom* possible bug and request for help
   
   I actually used *menubar-bottom* throughout my code to line up some
   screen-sized windows with the menubar.  Unfortunately, with a Radius
   two-page color display (with added memory to make it 16-bit), one is
   allowed to set the menu font to a larger font throught the control panel
   and *menubar-bottom* doesn't change.  (Errr.  I didn't expect it to change
   right away, but on rebooting it still is wrong.)  This holds true for a
   IIci and a IIcx.
   
   Is there an alternative way to find the bottom of the menubar?
   
   "TANSTAAFL" Rich lynch@aristotle.ils.nwu.edu

1.3 appears to set *menbar-bottom* to 38.  2.0 does it this way (18 is
the height of the title bar for a standard window):

(defconstant $MBarHeight 2986)
(setq *menubar-bottom* (+ (%get-word (%int-to-ptr $MBarHeight)) 18))