🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.oop.macapp3
Article #176

TPopup Testing

#176
From: ENS Computer Consulting,CAS
Date: Wed, 16 Dec 1992 23:07
25 lines
1068 bytes
Attn: MacApp 3.0 Tech $
SentBy: Paul Ens
 
TPopup Testing                                       12/16/92   10:53 AM
 
Holiday Greetings everyone,
 
I have a TPopup that uses a MenuHandle that has its various menu items
enabled/disabled by a number of sources. Anyhow, when I show a popup with this
MenuHandle on a dialog box, I want to default it to the first enabled menu
item.
 
How do I test a MenuHandle (or a TPopup) to see if an item is dimmed or not?
The toolbox provides Enable/DisableItem routines, but not a GetDimStatus
routine. I can't seem to find anything in MacApp itself that allows me to
check this.
 
Ideas?
 
Thanks so much,
 
Paul Ens
ENS Computer Consulting
Saskatoon, Sk CANADA
 
Technical Details
Message-ID: <724547499.1243073@AppleLink.Apple.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!apple!applelink.apple.com

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!apple!applelink.apple.com
From: ENS.CC@AppleLink.Apple.COM (ENS Computer Consulting,CAS)
Newsgroups: comp.sys.mac.oop.macapp3
Subject: TPopup Testing
Message-ID: <724547499.1243073@AppleLink.Apple.COM>
Date: 16 Dec 92 23:07:00 GMT
Sender: daemon@Apple.COM
Organization: AppleLink Gateway
Lines: 25