Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets the handle of the enhanced metafile, previously set with SetEnhMetafile, that is associated with CStatic.
HENHMETAFILE GetEnhMetaFile( ) const;
Return Value
A handle to the current enhanced metafile, or NULL if no enhanced metafile has been set.
Example
CStatic myStatic;
// Create a child enhanced metafile static control.
myStatic.Create(_T("my static"),
WS_CHILD|WS_VISIBLE|SS_ENHMETAFILE|SS_CENTERIMAGE,
CRect(10,10,150,50), pParentWnd);
// If no image is defined for the static control, define the image
// to be "myemf.emf."
if (myStatic.GetEnhMetaFile() == NULL)
myStatic.SetEnhMetaFile(::GetEnhMetaFile(_T("myemf.emf")));
Requirements
Header: afxwin.h