I want to display a windows metafile with a Static control.
I set the style of the control to Enhanced Metafile and I
set the handle to the metafile by the following code
HDC hdc = ::GetDC(0);
HDC hMetaDC = CreateEnhMetaFile(hdc,"d:\\test1.emf",&rect,NULL);
HENHMETAFILE hMeta = CloseEnhMetaFile(hMetaDC);
But the control doesn't display the metafile!
Is there any example available?