🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #169

How do you right justify a menu?

#169
From: Bill Poitras
Date: Wed, 05 Aug 1992 01:10
26 lines
1476 bytes
I have a menu bar which has several menus, the last on is "Help".  I want
that to always be on the extreme right of the menu bar.  In order to do
this I add several menus to the menu bar, some HGlue, and then the Help
menu.  It works up to a point, but if you resize the window enough, help
isn't on the extreme right any more.  I can't give you code because I use
proprietary InterViews bindings.  If enough people tell me that it should
work, then I guess its my code.

Object hierarchy:

Menu - MainMenu
  Menu - File
  Menu - Edit
  Menu - View
  Menu - Options
  HGlue  natural=0 shrink=0 stretch=infinite
  Menu - Help

Any pointers would be appreciated.
--
+-----------------+-------------------------------+-------------------------+
| Bill Poitras    | Molecular Simulations Inc.    | Tel (408)522-9229       |
| (bill)          | Sunnyvale, CA USA             |                         | 
|                 | FAX (408)732-0831             | bill@msi.com            |
+-----------------+-------------------------------+-------------------------+
Technical Details
Message-ID: <1992Aug5.011027.15072@msi.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!sdd.hp.com!mips!msi!snoopy!bill

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!sdd.hp.com!mips!msi!snoopy!bill
From: bill@snoopy (Bill Poitras)
Subject: How do you right justify a menu?
Message-ID: <1992Aug5.011027.15072@msi.com>
Sender: usenet@msi.com (USENET)
Reply-To: bill@msi.com
Organization: Molecular Simulations, Inc.
X-Newsreader: Tin 1.1 PL4
Date: Wed, 5 Aug 1992 01:10:27 GMT
Lines: 27