[comp.windows.x.motif] Mnemonics in multiple menubars

pboysen@iastate.edu (Boysen John Peter) (05/02/91)

I have an application with a mainwindow and a modeless dialog, each having a 
menubar. Mnemonics work fine as long as a modeless dialog menubar option 
doesn't have a mnemonic which is the same as the mainwindow menubar option.
In that case, the mainwindow option takes precedence.  I expected
that the dialog which had input focus would take precedence.  Is there a way
around this?

-- 
Pete Boysen                                pboysen@iastate.edu
Computer Supported Learning Group          gmjpb@isuvax.bitnet
Iowa State University Computation Center   Voice: (515)294-6663
-- 
Pete Boysen                                pboysen@iastate.edu
Computer Supported Learning Group          gmjpb@isuvax.bitnet
Iowa State University Computation Center   Voice: (515)294-6663
Ames, Iowa 50011                           Fax:   (515)294-1717

nazgul@alfalfa.com (Information Junkie) (05/02/91)

> I have an application with a mainwindow and a modeless dialog, each having a 
> menubar. Mnemonics work fine as long as a modeless dialog menubar option 
> doesn't have a mnemonic which is the same as the mainwindow menubar option.
> In that case, the mainwindow option takes precedence.  I expected
> that the dialog which had input focus would take precedence.  Is there a way
> around this?

Oh boy.  That's cute, I'd never noticed that.  So you can use menu mnemonics
from dialogs, but you can't use the keyboard accelerators.  Oh joy.

Alfalfa Software, Inc.          |       Poste:  The EMail for Unix
nazgul@alfalfa.com              |       Send Anything... Anywhere
617/646-7703 (voice/fax)        |       info@alfalfa.com

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.