weyand@csli.Stanford.EDU (Chris Weyand) (08/22/90)
I'm trying to use a tear off menu (which happens to be a hier menu as well) in Think C with the Class Library. I was hoping it would be as simple as declaring a few objects and sending the proper menu and window IDs. That doesn't seem to be the case. I simply want to take a standard text menu that I have and give it tear off capability. I followed the example from the Art Class project: that is I defined a director in the App class of type MyTearOff and make the calls mostly just like Art Class does; define a pane link it to the MDEF etc. But what I get is a menu that is empty and crashes when torn off. In the Art Class project the tear off menus hold icons and not text. When I changed those menus to be just text I got similar behavior (blank menu...crash). It appears that the programmer has to do some of the menuitem management (selection, drawing...)? Does anyone out there have any code that implements a text menu as a tear off? Any help/pointers are appreciated. Thanks Chris Weyand weyand@csli.Stanford.edu