透明画刷:
CBrush *brush = CBrush::FromHandle((HBRUSH)GetStockObject(NULL_BRUSH));
pDC->SelectObject(brush);
在其他地方获取文档类指针:
CMyDoc* pDoc = (CMyDoc*)((CFrameWnd*)AfxGetMainWnd())->GetActiveDocument();
透明画刷:
CBrush *brush = CBrush::FromHandle((HBRUSH)GetStockObject(NULL_BRUSH));
pDC->SelectObject(brush);
在其他地方获取文档类指针:
CMyDoc* pDoc = (CMyDoc*)((CFrameWnd*)AfxGetMainWnd())->GetActiveDocument();