Article ID: 196299 - Last Review: July 11, 2005 - Revision: 1.2 BUG: ExtCreatePen Functionality Unavailable in Enhanced MetafileThis article was previously published under Q196299 On This PageSYMPTOMS
When you build an enhanced metafile on Windows 95 or Windows 98, pen
creation calls are stored as EMR_CREATEPEN records instead of
EMR_EXTCREATEPEN records. This results in a loss of information, which
alters the appearance of the image. This problem does not occur on Windows
NT.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article.
MORE INFORMATION
If you execute the following code into an enhanced metafile Device Context
(DC) and then replay the resulting metafile, the pen strokes do not appear
as they were recorded. If, on the other hand, you execute the code into a
screen DC, everything appears correctly.
Sample Code | Article Translations
|
Back to the top
