leeke@glacier.STANFORD.EDU (Steven D. Leeke) (02/26/88)
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?"