Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!pasteur!ucbvax!hplabs!decwrl!labrea!glacier!leeke From: leeke@glacier.STANFORD.EDU (Steven D. Leeke) Newsgroups: comp.sys.mac Subject: MBarHook/MenuHook routines in LSC Message-ID: <17324@glacier.STANFORD.EDU> Date: 25 Feb 88 18:35:21 GMT Reply-To: leeke@glacier.UUCP (Steven D. Leeke) Distribution: na Organization: Stanford University Lines: 37 References: Has anyone written any routines in LSC for MBarHook or MenuHook? I have been unsuccessful so far. I tried: MenuHook = menuHook; void menuHook() { }; and MBarHook = menuBarHook; int menuBarHook(menuRect) Rect *menuRect; { return(0); /* in D0 */ }; They don't seem to need to be Pascal routines even though MBarHook and MenuHook are ProcPtr types. I tried declaring the fctn's as they are above but adding "pascal" and it didn't work. I also tried declaring both as pascal int - no luck. Any ideas? Steve Leeke CIS Stanford University -- Steven D. Leeke, Center for Integrated Systems, Stanford University {ucbvax,decvax}!decwrl!glacier!leeke, leeke@glacier.stanford.edu "I suppose they don't use money in the 23rd century?"