Amiga.org
Operating System Specific Discussions => Amiga OS => Amiga OS -- Development => Topic started by: Minuous on April 20, 2011, 02:35:22 PM
-
Can anyone tell me what pen is used for the text of ghosted menu items under OS4? In my program (Saga) under OS4 the ghosted menu items are looking the same as the normal menu items :-)
Looking in screens.h I can see pens for everything else, but nothing like MENUDISABLEDTEXTPEN. Does anyone know why this omission, and what the workaround is? Thanks.
-
Try SA_LikeWorkbench,TRUE on your OpenScreenTags() call.
-
Yes. Surprisingly, this does seem to work. Thanks Thomas!
(Of course, it isn't the ideal solution. MENUDISABLEDTEXTPEN should exist and then this kind of kludge wouldn't be necessary. Hopefully Hyperion will add this for OS4.2.)