home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / mac / oop / macapp3 / 320 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  2.2 KB

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