home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / mswindo / programm / misc / 1319 < prev    next >
Encoding:
Internet Message Format  |  1992-08-13  |  1.5 KB

  1. Path: sparky!uunet!decwrl!infopiz!lupine!motcsd!starnet!mzellers
  2. Newsgroups: comp.os.ms-windows.programmer.misc
  3. Subject: How do people go about using metafiles in real life?
  4. Message-ID: <1992Aug14.020320.16403@StarConn.com>
  5. From: mzellers@StarConn.com (Mark Zellers)
  6. Date: 14 Aug 92 02:03:20 GMT
  7. Organization: Starnet-Public Access UNIX--Los Altos, CA  415-949-3133
  8. Lines: 28
  9.  
  10. I went to go make an application I was working on write out windows
  11. metafile format today and so far I have been continually bumping my head
  12. against a rather hard brick wall.
  13.  
  14. There are two rather serious limitations of metafiles that I have run
  15. into.  The first is that getting any sort of status or information back
  16. as you are building the metafile is prohibited.  This makes 
  17. inquiry as to character metrics, for example to be rather difficult.
  18.  
  19. The second problem is that normal windows idioms (such as deleting the
  20. object returned from SelectObject) won't work.
  21.  
  22. I fear I know the answer to the first problem:  maintain another device
  23. context for either the screen or some appropriate device and do
  24. everything in parallel.
  25.  
  26.  
  27. What I would like to know is what people who have real applications are
  28. doing with metafiles.  Is there a standard way of doing these things
  29. (i.e. always format for the screen)?  
  30.  
  31. Thanks in advance,
  32.  
  33. -- 
  34.  
  35. +-----------------------------------------------------------------------------+
  36. | Mark H. Zellers                                          Mark@fsi.Fusion.COM|
  37. | Fusion Software, Inc                    455 Sherman Ave, Palo Alto, CA 94306|
  38.