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