CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2002
    Location
    Monte Carlo
    Posts
    129

    Question Populate METAFILEPICT struct given a HMETAFILE. Missing something simple?

    Pretty simple problem it seems.

    Code:
    			HMETAFILE hMetaFile = GetMetaFile(myMetaFile);
    
    			METAFILEPICT myMetaPict;
    
    			// ??? What can I do to populate the METAFILEPICT struct to access variables below.
    
    			myMetaPict.yExt;
    			myMetaPict.xExt;

  2. #2
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,620

    Re: Populate METAFILEPICT struct given a HMETAFILE. Missing something simple?

    GetEnhMetaFileHeader along with ENHMETAHEADER structure


    From MSDN

    METAFILEPICT structure

    Defines the metafile picture format used for exchanging metafile data through the clipboard.
    Last edited by Igor Vartanov; March 4th, 2015 at 04:40 PM.
    Best regards,
    Igor

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured