Article View: comp.windows.interviews
Article #1060Re: Menu bug (Feature?)
From: Gregory Brail
Date: Fri, 03 May 1991 19:41
Date: Fri, 03 May 1991 19:41
17 lines
1372 bytes
1372 bytes
In article <1991May3.165453.14056@nntp-server.caltech.edu> czim@martin.cns.caltech.edu (Chris Ziomkowski) writes: >Yesterday I posted an article asking for help with menus. Today I figured out >that the problem doesn't lie within my code, but within InterViews. I have >good reason to want to create a menu with no items in it. (This will be a >"Windows" menus. If there are no open windows, there will be no items in the >menu, but the menu should still appear in the bar.) I think InterViews does allow it, because I've done it by accident before. Regardless, why don't you disable the menu (using Control::Enable) so the user can't select it when it's empty? It's kind of silly to have an empty pull-down menu. -greg +----------------------------------------------------+ Greg Brail Internet: gjb@cs.brown.edu BITNET: gjb@browncs.bitnet UUCP: ..uunet!brunix!gjb Home: (401)273-1172
Technical Details
Message-ID:
<74433@brunix.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!brunix!gjbReferences:
<1991May3.165453.14056@nntp-server.caltech.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!brunix!gjb From: gjb@cs.brown.edu (Gregory Brail) Newsgroups: comp.windows.interviews Subject: Re: Menu bug (Feature?) Message-ID: <74433@brunix.UUCP> Date: 3 May 91 19:41:38 GMT References: <1991May3.165453.14056@nntp-server.caltech.edu> Sender: news@brunix.UUCP Reply-To: gjb@cs.brown.edu (Gregory Brail) Organization: Brown University Department of Computer Science Lines: 17