Thread View: comp.sys.mac.oop.macapp3
1 messages
1 total messages
Started by Antrim Corp, John Bishop,APD
Wed, 30 Dec 1992 23:55
Re: TPopup not drawing properl
Author: Antrim Corp, John Bishop,APD
Date: Wed, 30 Dec 1992 23:55
Date: Wed, 30 Dec 1992 23:55
33 lines
2298 bytes
2298 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads