Welcome, Guest. Please login or register.

Author Topic: OS4 pen issues  (Read 2157 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline MinuousTopic starter

OS4 pen issues
« 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.
« Last Edit: April 20, 2011, 03:09:37 PM by Minuous »
 

Offline Thomas

Re: OS4 pen issues
« Reply #1 on: April 20, 2011, 02:54:30 PM »
Try SA_LikeWorkbench,TRUE on your OpenScreenTags() call.

Offline MinuousTopic starter

Re: OS4 pen issues
« Reply #2 on: April 21, 2011, 03:15:35 AM »
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.)