Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!sunybcs!boulder!pratt From: pratt@boulder.Colorado.EDU (Jonathan Pratt) Newsgroups: comp.sys.mac.programmer Subject: Re: Proper menu title appearance when all items are dimmed Message-ID: <5279@boulder.Colorado.EDU> Date: 13 Dec 88 02:55:59 GMT References: <1146@tank.uchicago.edu> Sender: news@boulder.Colorado.EDU Reply-To: pratt@boulder.Colorado.EDU (Jonathan Pratt) Distribution: na Organization: University of Colorado, Boulder Lines: 16 I too dislike the annoying flash of DrawMenuBar when all I want to do is dim the title of one menu. My solution was to dim and redraw the menu title myself. Unfortunately this is a bit of a kludge since it involves direct access to the window manager port, but it works so well I think Apple should have included a call like this to begin with. My question is, what is the best way to do this that minimizes the risk of its breaking in the future? Are we allowed to determine the horizontal coordinate of the left edge of a menu from the MenuList? If so what is the calculation (in terms of ?System Font, etc.) that determines where to draw the string? Has any- one nosed around in ROM to see how it is done? Jonathan Pratt pratt@boulder.colorado.edu