摘要:
CPen* PenOld,PenNew; CBrush* BrushOld,BrushNew; //选用库存黑色画笔 PenOld = (CPen*)pDC->SelectStockObject(BLACK_PEN); //选用库存浅灰色画刷 BrushOld = (CBrush*)pDC->SelectStockObject(LTGRAY_BRUSH); pDC->Rectangle(100,100,300,300); //关联GDI 库存对象 PenNew.CreateStockObject(WHITE_PEN); pDC->S... 阅读全文
posted @ 2013-05-16 10:26 huhuuu 阅读(702) 评论(0) 推荐(0) 编辑