Can someone please help?I'm trying to print a bitmap to the screen.
This is where I'm upto:
------------------------------------------------------------------------------------
void CSketcherView::OnDraw(CDC* pDC)
{
CSketcherDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
CBitmap MyBit;
MyBit.LoadBitmap(IDB_BITMAP2);
MyBit.CreateBitmap(100,40,);
CBitmap* pOldBitmap = pDC->SelectObject(&MyBit);
pDC->BitBlt(0,0,100,100,pDC,0,0,SRCCOPY);
----------------------------------------------------------------------------------
I'm not sure of the last three parameters in CreateBitmap.
Also BitBlt could be wrong.
I have looked through the forum but still can't work it out.
Phil