CString str;
str=" 张含韵官方论坛";
pDC->TextOut(100,100,str); CSize sz=pDC->GetTextExtent(str); pDC->BeginPath();
pDC->Rectangle(100,100,100+sz.cx,100+sz.cy);
pDC->EndPath();
pDC->SelectClipPath(RGN_DIFF); for(int i=0;i<400;i+=10)
{
pDC->MoveTo(0,i);
pDC->LineTo(400,i);
pDC->MoveTo(i,0);
pDC->LineTo(i,400);
} str="张含韵演唱会";
pDC->TextOut(150,150,str); str.LoadString(IDS_STRING);
pDC->TextOut(200,200,str);
str=" 张含韵官方论坛";
pDC->TextOut(100,100,str); CSize sz=pDC->GetTextExtent(str); pDC->BeginPath();
pDC->Rectangle(100,100,100+sz.cx,100+sz.cy);
pDC->EndPath();
pDC->SelectClipPath(RGN_DIFF); for(int i=0;i<400;i+=10)
{
pDC->MoveTo(0,i);
pDC->LineTo(400,i);
pDC->MoveTo(i,0);
pDC->LineTo(i,400);
} str="张含韵演唱会";
pDC->TextOut(150,150,str); str.LoadString(IDS_STRING);
pDC->TextOut(200,200,str);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货