CPaintDC dc(this);
IPicture *ppic;
IStream *pstrm;
.......OLE_XSIZE_HIMETRIC hmWidth;
OLE_YSIZE_HIMETRIC hmHeight;
ppic->SetWidth(&hmWidth);
ppic->SetHeight(&hmHeight);
....
dc.GetDevicecps(HORZSIZE);
....
if(FAILED(ppic->Render(dc,0,0,(DWORD)fx,(DWORD)fy,0,hmHeigth,hmWidth,-hmHeight,0,0))){
....
}
IPicture *ppic;
IStream *pstrm;
.......OLE_XSIZE_HIMETRIC hmWidth;
OLE_YSIZE_HIMETRIC hmHeight;
ppic->SetWidth(&hmWidth);
ppic->SetHeight(&hmHeight);
....
dc.GetDevicecps(HORZSIZE);
....
if(FAILED(ppic->Render(dc,0,0,(DWORD)fx,(DWORD)fy,0,hmHeigth,hmWidth,-hmHeight,0,0))){
....
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货