Using Win32 functions in Visual FoxPro Image Gallery
Metafile
..msdn
CloseEnhMetaFile
CreateEnhMetaFile
DeleteEnhMetaFile
GetEnhMetaFile
GetEnhMetaFileHeader
PlayEnhMetaFile
Code examples:
Copying picture of the active form to the Clipboard using Enhanced Metafile API functions
How to print FoxPro form -- II
Storing screen shot of a form to enhanced metafile (*.emf)
CloseEnhMetaFile
    Add comment     W32 Constants      Translate this page
The CloseEnhMetaFile function closes an enhanced-metafile device context and returns a handle that identifies an enhanced-format metafile.
Code examples:
Copying picture of the active form to the Clipboard using Enhanced Metafile API functions
Storing screen shot of a form to enhanced metafile (*.emf)
How to print FoxPro form -- II
Declaration:
 
HENHMETAFILE CloseEnhMetaFile(
  HDC hdc   // handle to enhanced-metafile DC
);
 
FoxPro declaration:
 
DECLARE INTEGER CloseEnhMetaFile IN gdi32;
    INTEGER hdc
 
 
Parameters:
hdc
[in] Handle to an enhanced-metafile device context.
Return value:
If the function succeeds, the return value is a handle to an enhanced metafile.
My comment:
When the application no longer needs the enhanced metafile handle, it should release the handle by calling the DeleteEnhMetaFile function.
Word Index links for the CloseEnhMetaFile :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2003-05-22 10:50:36
Modified: 2003-05-22 10:51:58
Visited in last 7 days: 19
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (50.17.109.248)
4.6 hrs.Example: 'How to block the ALT+TAB shortcut (WinXP)'
4.61 hrs.Example: 'Using Video Capture: displaying on FoxPro form frames and previewing video obtained from a digital camera'
4.95 hrs.All Functions
 Example: 'Browsing Windows Known Folders (Special Folders)'
 Function: 'GdipSetTextRenderingHint'
Function group: 'GDI+ Graphics'
6.65 hrs.Function: 'LoadLibrary'
Function group: 'Dynamic-Link Library'
7.92 hrs.Example: 'Converting command-line string to a set of Unicode argument strings (WinNT only)'
 Example: 'Converting image file to .ICO file'
 Solution: 'ContextMenu ActiveX Control'
9.88 hrs.Example: 'Displaying system dialog that selects a folder'
Language: 'C++'
Google
Advertise here!