home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 21074 < prev    next >
Encoding:
Internet Message Format  |  1993-01-09  |  2.1 KB

  1. Path: sparky!uunet!noc.near.net!saturn.caps.maine.edu!maine.maine.edu!ree700a
  2. Organization: University of Maine System
  3. Date: Saturday, 9 Jan 1993 09:01:20 EST
  4. From: <REE700A@MAINE.MAINE.EDU>
  5. Message-ID: <93009.090120REE700A@MAINE.MAINE.EDU>
  6. Newsgroups: comp.sys.mac.programmer
  7. Subject: Thanks (Re message questions)
  8. Lines: 34
  9.  
  10.    Thanks to all for the info.  The mem limit was one of the two big
  11. reasons for my platform migration. (Owning an SE/30 8/40 and an XT
  12. after loosing access to the 386 was the other.)
  13.  
  14.    The Spellswell SDK sounds neat & I may get it, but here's a further
  15. clarification of my problem:  it is a highly specific CAD application in
  16. which menu selections (and potentially external text files) dictate the
  17. layout of a photomask in MANN 3600 pattern generator format (OK - I'll
  18. need to run it throught the VM/370 to get an EBCDIC 9-track tape :-(  ).
  19.    The project:  Create, Edit and Display a pattern composed of up to
  20. 25,000 "flashes".  A flash is a rotated rectangle, which is defined by
  21. X_cen, Y_cen, Wid, Len, Ang.  Allowing an area of 100 mm^2 and a resolution
  22. of 0.1 microns --> a maximum flash dimension or position of 1,000,000,
  23. thus long ints.  The potential data size is thus roughly 500,000 bytes.
  24.  
  25.    I was about to resort to (a) buying MS's 32-bit module for Win or
  26. (b) using a linked-list approach with handles between blocks of data.
  27.    It looks like the Mac will allow me to allocate my memory 5-10KB
  28. at a time and combine the new and old block to a contiguous combined
  29. block.  This eliminates the principal source of Win 3.x crashes -
  30. excessive numbers of handles (sys heap full), since I'll never have
  31. more than two handles to my data block!
  32.  
  33.    As to the scrolling issue...  If Win detects a mouse click in the
  34. system portion of your window, it automatically filters it and returns
  35. the appropriate message - either a button, menu_item or scroll message.
  36. In particular, scroll tab "drag & drops", page moves and line moves
  37. are all automatically generated system messages.
  38.    But then again, I can write the filter routine once and use it in all
  39. of my future app's, now can't I?
  40.  
  41.   Again, thanks.  I should be getting the compiler this week...
  42.  
  43. Jeff Andle
  44.