Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!valid!feynman!kim From: kim@feynman.valid.com (Kim Helliwell) Newsgroups: comp.sys.mac.programmer Subject: THINK C Class Library Questions Summary: Where in application to put menu manipulation commands? Keywords: THINK C CLASS LIBRARY Message-ID: <548@valid.valid.com> Date: 5 Jun 91 21:56:41 GMT Sender: news@valid.com Lines: 17 I am working on an application in THINK C, and finally got to the point of adding some new menu commands. However, I can't seem to get the menu items I've added to be enabled. I have RTFM, and I think I'm doing things correctly. I added an UpdateMenus() method to my own CDocument class, but the routine doesn't get called. This may be because I'm not correctly setting gGopher. In short, I'm confused about when (or even whether) I have to set gGopher, what I should set it to, and how far down in my hierarchy of classes I can or should put UpdateMenus method overrides, and so on. Has anyone been through this so you can help me? Incidently, the example code doesn't seem to me to be too enlightening on these points, either. "Never let work interfere with your reasons for working." Kim Helliwell