home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / apple2 / 27363 < prev    next >
Encoding:
Internet Message Format  |  1993-01-22  |  1.7 KB

  1. Path: sparky!uunet!olivea!charnel!sifon!clouso.crim.ca!IRO.UMontreal.CA!matrox!altitude!vandry
  2. From: vandry@CAM.ORG (Phillip Vandry)
  3. Newsgroups: comp.sys.apple2
  4. Subject: MenuKey and TaskMaster
  5. Message-ID: <C184vA.98o@CAM.ORG>
  6. Date: 21 Jan 93 21:54:44 GMT
  7. Organization: Champlain Regional College, St-Lambert QC CANADA
  8. Lines: 29
  9.  
  10. (I have another problem..)
  11.  
  12. Forgive me. I've only been in desktop programming since I started this project
  13. at the beginning of this year about. So it's normal I have quite a few
  14. questions, isn't it? The point is, I answer most of them myself and only have
  15. to post to ones I -really- can't figure out :)
  16.  
  17. Anyways, the problem is that in the Toolbox reference Volume 1, it says
  18. MenuKey returns its information about MenuID/ItemID in the eventWhen field.
  19. But a disassembly of TaskMaster shows that it expects to find that information
  20. in the taskData field.
  21.  
  22. 1. I modified my program to use taskdata instead of EventWhen so that it will
  23.    work, but is this correct?
  24. 2. If MenuKey does indeed return info in taskdata, what if the app uses
  25.    GetNextEvent in the main loop? Then there won't be a taskdata!
  26.  
  27. And this should be the last thing. Promise. :)
  28.  
  29. How do you save and restore the screen? I was looking at PPToPort and it seems
  30. like that's a whole loc more complicated than I need.. I just need to capture
  31. the contents of a rect and restore it again..
  32.  
  33. Thanks.
  34.  ______________________________________________________________________
  35. |~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~~~~|
  36. | Phillip Vandry | Vandry@Cam.Org | II the future! | II 1993!          |
  37. |________________|________________|________________|___________________|
  38.  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  39.