Path: utzoo!utgpu!watserv1!watmath!att!occrsh!uokmax!apple!usc!cs.utexas.edu!brux From: brux@cs.utexas.edu (Mark Brucks) Newsgroups: comp.sys.mac.programmer Subject: CBartender problem Keywords: CBartender, InsertMenuCmd Message-ID: <12204@cs.utexas.edu> Date: 7 Sep 90 02:09:07 GMT Organization: U. Texas CS Dept., Austin, Texas Lines: 16 I've discovered a problem with CBartender. I'm using MBAR and MENU resources. One MENU resource initially has no items, and the menu is created correctly by IBartender. However, when the first item is added via InsertMenuCmd, the cmdNo is not set correctly. If you look in InsertMenuCmd, you'll see that SetHandleSize is called with a NULL ptr just before the cmdNo is set. Of course, this doesn't work. I've sent this description to Rich Siegel, and he thinks that it is a known problem, but he doesn't know if it is covered by any of the TCL patches. Has anybody else seen this problem? It is easy to patch TCL and get things to work, but if there is an "official" patch (that may cover other bugs I don't know about) I'd like to know about it. Thanks. Mark Brucks - brux@cs.utexas.edu