home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!meaddata!pdd
- From: pdd@meaddata.com (Paul Darata)
- Subject: Help! Tear-off menu in TCL doesn't appear
- Sender: news@meaddata.com (Usenet Administrator)
- Organization: Mead Data Central, Dayton OH
- Date: Mon, 9 Nov 1992 16:32:54 GMT
- Message-ID: <1992Nov9.163254.21019@meaddata.com>
- Reply-To: pdd@farside.meaddata.com
- Distribution: usa
- Lines: 40
-
-
- I am trying to create an additional tear-off menu in a program similar
- to the Art Class demo in Think C. I have been unable to get the tear-off
- menu to appear. The new tear-off is a hierarchical sub-menu. This is
- what I have done so far:
-
- o created a new class which is a copy of the ToolsDir.C file provided
- in the Art Class demo
-
- o modified the code to look for a different 'ChGd' resource
-
- o added a new menu item to an existing menu with the new tear-off menu
- as the submenu
-
- o created a new empty menu for the new tear-off
-
- o created the new 'ChGd' resource using ResEdit (I also changed the
- field with the menu number to the new tear-off)
-
- o created a new MDEF resource
-
- o at run-time the menu item and the tear-off menu menu are enabled
-
- And then nothing happens when I highlight the new menu item. What have I
- missed? I also moved the original "Tools" tear-off to act as a hierarchical
- menu and it works fine. Any help will be greatly appreciated.
-
-
-
- ----------------------------------------------------------
- Paul Darata pdd@farside.meaddata.com
- Mead Data Central ...!uunet!meaddata!farside!pdd
- P.O. Box 933 meaddata!pdd@uunet.uu.net
- Dayton, OH 45401
- (513) 865-7756 #include <std.disclaimer>
-
- "... as for me and my house, we will serve the Lord."
- Joshua 24:15
- ----------------------------------------------------------
-
-