home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!purdue!mentor.cc.purdue.edu!noose.ecn.purdue.edu!samsung!balrog!olympus.ctron.com!patman
- From: patman@olympus.ctron.com (Pat Mancuso)
- Newsgroups: comp.os.ms-windows.programmer.win32
- Subject: Problems with NT PlayMetaFile
- Message-ID: <4846@balrog.ctron.com>
- Date: 25 Aug 92 19:00:25 GMT
- Sender: usenet@balrog.ctron.com
- Reply-To: patman@olympus.ctron.com (Pat Mancuso)
- Organization: Cabletron Systems INc.
- Lines: 20
-
- I am working on an app which contains code like:
-
- HDC bar(HMETAFILE hMetafile)
- {
- HDC hMFDC = CreateMetaFile(NULL);
-
- PlayMetaFile(hMFDC, hMetafile);
- return(hMFDC);
- }
-
- Basically, it's just playing a metafile into another metafile.
- I'm doing this as part of some OLE server OnDraw code.
- This works fine under 3.1, but fails (PlayMetaFile returns FALSE)
- under NT. The manual says this should work (API Ref vol 2, pg 12)
- but so far I can only get it to render to non-metafile DC's.
-
- Bug?
-
- ---
- Pat Mancuso (patman@ctron.com)
-