home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!apple!applelink.apple.com
- From: BISHOP.ANTR@AppleLink.Apple.COM (Antrim Corp, John Bishop,APD)
- Newsgroups: comp.sys.mac.oop.macapp3
- Subject: Re: TPopup not drawing properl
- Message-ID: <725760289.2084825@AppleLink.Apple.COM>
- Date: 30 Dec 92 23:55:00 GMT
- Sender: daemon@Apple.COM
- Organization: AppleLink Gateway
- Lines: 33
-
- Ken:
-
- Boy - if you get an answer to this popup question, you're my hero. Please see
- the MacApp Development discussion on ALink concerning this problem. Several
- have tried to get an answer to this and it's just died in the MacAppTech
- archives. I tried again last month, and have no answer yet.
-
- There are several problems with TPopups that I understand better, like making
- sure that the same popup in two windows must have unique Menu ID's, contructed
- on the fly, even when their originating resource is the same (like two
- different windows with a "FontSize" popup). If the popups are dynamic (change
- programmatically), you must override any of TPopups methods which count on the
- resource ID and Menu ID to be identical - not a simple task. Further, unless
- you want MacApp to mess with your popups, you must give them Menu ID's outside
- of MacApp's "service" range - that is, greater than 64. Finally, when you're
- all done, you have to figure out why you can't control the graying (or
- ungraying) of the popups properly. I have no philisophical problem with a
- popup in the background going gray, just that redrawing it should make it black
- (ie: on activation). I have exhausted myself trying to force redrawing at the
- proper times, and like you, have found myself at the Toolbox call, still
- drawing incorrectly. Many months ago, Chris Knepper (at Apple, I think)
- indicated lots of problems with TPopup in MacApp (bugs he called them) and
- indicated they wouldn't be fixed and had to be worked around... Well, I've
- been trying to "work around" these problems for months to no avail. Makes me
- think I should get out my Borland Frameworks and spend my time on Combo Boxes!!
-
- Anyway, if you get a better response than I did, please pass my link address
- along so I can get some help. They call me "Mr. Popup" around here... sounds a
- lot like "Mr. Potato Head" to me.
-
- John Bishop
- Antrim Corporation
-
-