popupmenu.class disabled keyboard shortcuts

A forum for general AmigaOS 4.x support questions that are not platform-specific
Post Reply
Posts: 552
Joined: Sat Jun 18, 2011 11:05 am

popupmenu.class disabled keyboard shortcuts

Post by chris »

Menu items in popupmenu.class that have a keyboard shortcut, and have been disabled do not show the keyboard shortcut part of the item in a disabled state.

So if a menu item is created with the following tags:
PMIA_Title, "Menu item"
PMIA_Disabled, TRUE,
PMIA_CommKey, "A",

The text "Menu item" is shown correctly disabled, but the RAmiga-A image to the right of it is not.

(If whoever looks at fixing this can also look at this thread that would be lovely)
Post Reply