--- In [email protected], Ilkka Lehtoranta <[EMAIL PROTECTED]> wrote:
>
> On Sat, 30 Sep 2006, Steffen wrote:
> 
> > Hi,
> > 
> > I am creating menu items and for some I set the
> > MUIA_Menuitem_CommandString to TRUE, and MUIA_Menuitem_Shortcut to
> > some string, e.g. "Alt-CurUp".  While this works well on AOS 3.1/MUI
> > 3.8 (I am running UAE), there seems to be a problem on MorphOS/MUI 3.9
> > where the menu item gets the shortcut <Amiga>-A (note that 'A' is the
> > first charachter in the command string).
> > 
> > Before I go deeper into this problem, has anyone on this list also
> > noticed this behavior and solved the problem?  Are there any
> > restrictions on the command string maybe?
> 
> This is a limitation/bug/feature in gadtools.library used in
MorphOS. Only 
> Amiga+key combinations work.
> 

Thanks for the explanation.  

How about if I work around this problem by formatting the menu item
text myself and not using MUIA_Menuitem_Shortcut on MorphOS.  Do you
have some sample code that shows how to check for MorphOS (or a
condition that tells me when this problem is present)?  

And is there any chance that a future version of MUI/gadtools will
implement this feature?

Best,

    Steffen






Visit http://www.amiga.dk/tumult for MUI-related
information, especially about MUI custom classes. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/MUI/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/MUI/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to