[comp.windows.ms.programmer] How do you make the "Help" selection flush right on the menu bar?

burgoyne@eng.umd.edu (John R. Burgoyne) (02/01/91)

We can't seem to figure it out. Thanks in advance.

Robert

gords@cognos.UUCP (Gord Smith) (02/02/91)

In article <1991Feb1.021115.17234@eng.umd.edu> burgoyne@eng.umd.edu (John R. Burgoyne) writes:
>We can't seem to figure it out. Thanks in advance.

This should probably go in the FAQ:

Put \a in fron of the string in the menu.

e.g.  POPUP     "\a&Help"

-- 
D. Gordon Smith         Voice: (613) 738-1338 ext 6118       P.O. Box 9707
Cognos Incorporated       FAX: (613) 738-0002                3755 Riverside Dr.
uucp: gords@cognos.uucp || uunet!mitel!cunews!cognos!gords   Ottawa, Ontario
OTTAWA SENATORS Season Ticket Holder.                        CANADA  K1G 3Z4

goodearl@world.std.com (Robert Goodearl) (02/03/91)

In article <9281@cognos.UUCP> gords@cognos.UUCP (Gord Smith) writes:
>In article <1991Feb1.021115.17234@eng.umd.edu> burgoyne@eng.umd.edu (John R. Burgoyne) writes:
>>We can't seem to figure it out. Thanks in advance.
>
>This should probably go in the FAQ:
>
>Put \a in fron of the string in the menu.
>
>e.g.  POPUP     "\a&Help"

Note that while this is documented in the SDK manuals as working for any
menu entry, it does not work for items in pulldowns.  When I queried Microsoft
about this via Online, they said that this is not being supported at all.
It is not CUA compliant (if you care about that), so my take is that it may
not be in future versions.

-- 
Bob Goodearl -- goodearl@world.std.com

rommel@Informatik.TU-Muenchen.DE (Kai-Uwe Rommel) (02/04/91)

In article <1991Feb2.223527.26159@world.std.com> goodearl@world.std.com (Robert Goodearl) writes:
>>This should probably go in the FAQ:
>>
>>Put \a in fron of the string in the menu.
>>
>>e.g.  POPUP     "\a&Help"
>
>Note that while this is documented in the SDK manuals as working for any
>menu entry, it does not work for items in pulldowns.  When I queried Microsoft
>about this via Online, they said that this is not being supported at all.

If you want right aligned text in a pulldown menu item (i.e. Text left
and the name of the accelerator right aligned like in WinWord) use \b
instead of \t to separate the two columns in the menu string. This
should even work with no text on the left side but I have not tested it.
This only works in pulldown menus. As stated above, on the menu bar \a
can be used. The menu item beginning with \a and all items following
this one are placed on the right side of the bar. This means, you can
have several pulldown menus on the left side of the bar as well as
several other menus on the right side of the bar.

Kai Uwe Rommel

kensy@microsoft.UUCP (Ken SYKES) (02/12/91)

Small note: The "new and improved" CUA puts Help as the rightmost menu item,
but not flush against the right margin.  Take a look at the accessory apps
to see what I mean.  In case you care about CUA...

Ken Sykes
Disclaimer: The above opinions are solely my own.