Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!apple.com!leahy3
From: leahy3@apple.com (Frank Leahy)
Newsgroups: comp.sys.mac
Subject: Re: Mr. Macintosh
Message-ID: <4481@internal.Apple.COM>
Date: 29 Sep 89 21:18:35 GMT
Sender: usenet@Apple.COM
Organization: Apple Computer, Inc.
Lines: 18
References:<817zebolskyd@yvax.byu.edu> <26744@dhw68k.cts.com>

While I've never heard of a Mr. Mac icon, I do know that there is a 
MrMacHook, and it's still there.  Mr. MacHook (also known as MBarHook in 
InsideMacintosh) is a hook that gets called every time a menu is pulled 
down.  Late one night, while the Mac was being built, apparently someone 
thought it would be funny to have 
a little program (the hook) that would count the number of times a menu 
was pulled down, and then on the 10,000 th (or some other appropriate 
number) time display an animating image (Mr. Macintosh) instead of the 
menu.  If you look 
at the MrMacHook (called such in the original assembly language headers) 
parameters, it takes the menu rect, and returns a boolean telling the MDEF 
whether to go ahead and draw the menu or not.  It could actually be fun to 
do an INIT with various MrMacHooks based on birthdays, holidays, etc..

Frank Leahy
(In a former life Mr. MenuManager)
Software Engineering
Apple Computer, Inc.